mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 00:49:07 +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
de66ba9457
commit
72b2acb8bb
@@ -830,7 +830,7 @@ func collectProfilesInDir(dir string, active *profilemanager.ActiveProfileState)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func isProfileJSON(name string) bool {
|
func isProfileJSON(name string) bool {
|
||||||
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix) && !strings.HasSuffix(name, ".prefs.json")
|
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix) && !strings.HasSuffix(name, ".prefs.json")
|
||||||
}
|
}
|
||||||
|
|
||||||
func newProfileEntry(id, path string, active *profilemanager.ActiveProfileState) profileEntry {
|
func newProfileEntry(id, path string, active *profilemanager.ActiveProfileState) profileEntry {
|
||||||
|
|||||||
Reference in New Issue
Block a user