mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-16 11:49:06 +02:00
Update client/internal/debug/debug.go
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
cubic-dev-ai[bot]
parent
8a7dbe8cf3
commit
106dd0365d
@@ -827,7 +827,7 @@ func collectProfilesInDir(dir string, active *profilemanager.ActiveProfileState)
|
||||
}
|
||||
|
||||
func isProfileJSON(name string) bool {
|
||||
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix)
|
||||
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix) && !strings.HasSuffix(name, ".prefs.json")
|
||||
}
|
||||
|
||||
func newProfileEntry(id, path string, active *profilemanager.ActiveProfileState) profileEntry {
|
||||
|
||||
Reference in New Issue
Block a user