mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-17 12:19:07 +02:00
Update client/internal/profilemanager/service.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
41f25c0e5e
commit
f44b6f16ff
@@ -891,7 +891,7 @@ func readProfileOwners(path string) ([]ipcauth.Principal, error) {
|
||||
// recorded now.
|
||||
func StampOwner(path string, owner ipcauth.Identity) error {
|
||||
if !owner.Known() {
|
||||
return fmt.Errorf("cannot stamp owner that is verified by the kernel")
|
||||
return fmt.Errorf("cannot stamp owner that is not verified by the kernel")
|
||||
}
|
||||
return stampPrincipal(path, ipcauth.OwnerPrincipalForIdentity(owner))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user