From 0e8aa14045ea9873e7b4aa7aadb1d4da2e54193a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 2 Dec 2019 14:38:23 +0100 Subject: [PATCH] gerrit.Client: set projectName and branchName --- gerrit/client.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gerrit/client.go b/gerrit/client.go index fd8a24415..6197b0338 100644 --- a/gerrit/client.go +++ b/gerrit/client.go @@ -58,9 +58,11 @@ func NewClient(logger *log.Logger, URL, username, password, projectName, branchN return nil, err } return &Client{ - client: goGerritClient, - baseURL: URL, - logger: logger, + client: goGerritClient, + baseURL: URL, + logger: logger, + projectName: projectName, + branchName: branchName, }, nil }