mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-22 10:16:38 +00:00
sync once pointer
This commit is contained in:
@@ -1620,6 +1620,8 @@ func (s *SqlStore) GetAccount(ctx context.Context, accountID string) (*types.Acc
|
||||
account.RoutesG = nil
|
||||
account.NameServerGroupsG = nil
|
||||
|
||||
account.InitOnce()
|
||||
|
||||
return &account, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user