From 7fe6a5da914019d48df2d7784c98f1f0940955d1 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Wed, 30 Oct 2024 17:33:58 +0100 Subject: [PATCH] Fix typo in Permissions.String. --- group/description.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group/description.go b/group/description.go index 32c240f..095fca6 100644 --- a/group/description.go +++ b/group/description.go @@ -91,7 +91,7 @@ func (p Permissions) String() string { return p.name } v, err := json.Marshal(p) - if err == nil { + if err != nil { return fmt.Sprintf("(ERROR=%v)", err) } return string(v)