From 0f737fd82c8d7b7fe006f239104cb55d331c8489 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Mon, 30 Apr 2018 11:50:49 +0300 Subject: [PATCH] Fix fmt.ErrorF usage --- remote/bitbucket/internal/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/bitbucket/internal/client.go b/remote/bitbucket/internal/client.go index 374e280d..71ea12a7 100644 --- a/remote/bitbucket/internal/client.go +++ b/remote/bitbucket/internal/client.go @@ -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 }