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:
Diffstat (limited to 'internal/helper/storage.go')
-rw-r--r--internal/helper/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/helper/storage.go b/internal/helper/storage.go
index 523ca7ed6..0a465756f 100644
--- a/internal/helper/storage.go
+++ b/internal/helper/storage.go
@@ -74,5 +74,5 @@ func InjectGitalyServers(ctx context.Context, name, address, token string) (cont
return nil, err
}
- return metadata.NewOutgoingContext(ctx, metadata.Pairs("gitaly-servers", base64.StdEncoding.EncodeToString(gitalyServersJSON))), nil
+ return metadata.AppendToOutgoingContext(ctx, "gitaly-servers", base64.StdEncoding.EncodeToString(gitalyServersJSON)), nil
}