diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-06-23 11:47:00 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-06-23 11:47:00 +0300 |
commit | 5a4e3f0f8b311802e77df67f49d41e44951e92fc (patch) | |
tree | ea0d61b4dd37d9abd97618cd2345e48ff56cab0b | |
parent | 5f8fab836d6a862668da7cff1a2752e363795ca5 (diff) |
Apply 1 suggestion(s) to 1 file(s)
-rw-r--r-- | internal/config/locator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/locator.go b/internal/config/locator.go index 357c397ee..670b4da24 100644 --- a/internal/config/locator.go +++ b/internal/config/locator.go @@ -71,7 +71,7 @@ func (l *configLocator) GetPath(repo repository.GitRepo) (string, error) { func (l *configLocator) GetStorageByName(storageName string) (string, error) { storagePath, ok := l.conf.StoragePath(storageName) if !ok { - return "", status.Errorf(codes.InvalidArgument, "Storage can not be found by name %q", storageName) + return "", status.Errorf(codes.InvalidArgument, "GetStorageByName: no such storage: %q", storageName) } return storagePath, nil |