mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-30 02:29:08 +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:
committed by
Theodor S. Midtlien
co-authored by
cubic-dev-ai[bot]
parent
331c490326
commit
fa3689c079
@@ -827,7 +827,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)
|
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