mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-27 09:09:07 +02:00
Recover from dup active profiles that cannot be resolved with username.
This commit is contained in:
@@ -6,4 +6,9 @@ var (
|
||||
ErrProfileNotFound = errors.New("profile not found")
|
||||
ErrProfileAlreadyExists = errors.New("profile already exists")
|
||||
ErrNoActiveProfile = errors.New("no active profile set")
|
||||
|
||||
// ErrAmbiguousActiveProfile is returned when the active profile state names
|
||||
// an ID that several profiles hold and does not say whose directory the
|
||||
// active one sits in.
|
||||
ErrAmbiguousActiveProfile = errors.New("active profile is ambiguous")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user