Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2020-06-23 11:47:00 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2020-06-23 11:47:00 +0300
commit5a4e3f0f8b311802e77df67f49d41e44951e92fc (patch)
treeea0d61b4dd37d9abd97618cd2345e48ff56cab0b
parent5f8fab836d6a862668da7cff1a2752e363795ca5 (diff)
Apply 1 suggestion(s) to 1 file(s)
-rw-r--r--internal/config/locator.go2
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