Fix fmt.ErrorF usage

This commit is contained in:
folex 2018-04-30 11:50:49 +03:00
parent b1dfa4a5a9
commit 0f737fd82c

View file

@ -163,7 +163,7 @@ func (c *Client) GetPermission(fullName string) (*RepoPerm, error) {
}
if len(out.Values) == 0 {
return nil, fmt.Errorf("no permissions in repository ", fullName)
return nil, fmt.Errorf("no permissions in repository %s", fullName)
} else {
return out.Values[0], nil
}