Commit 7fe6a5da authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in Permissions.String.

parent f8f7b539
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment