From febead69e2b408d87356969f964408de66f27c04 Mon Sep 17 00:00:00 2001 From: "Theodor S. Midtlien" Date: Thu, 3 Sep 2026 14:28:58 +0200 Subject: [PATCH] Add nolint for unused functions --- client/internal/profilemanager/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/internal/profilemanager/service.go b/client/internal/profilemanager/service.go index d9b73f934..316164760 100644 --- a/client/internal/profilemanager/service.go +++ b/client/internal/profilemanager/service.go @@ -54,6 +54,7 @@ type profileMeta struct { Name string } +// nolint:unused type ownerMeta struct { Owner string } @@ -576,6 +577,7 @@ func readProfileName(path string) string { return meta.Name } +// nolint: unused,unusedfunc func readProfileOwner(path string) string { data, err := os.ReadFile(path) if err != nil { @@ -588,6 +590,7 @@ func readProfileOwner(path string) string { return meta.Owner } +// nolint: unused,unusedfunc func stampOwner(path string, owner ipcauth.Identity) error { data, err := os.ReadFile(path) if err != nil {