about summary refs log tree commit diff
path: root/gerrit/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'gerrit/client.go')
-rw-r--r--gerrit/client.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/gerrit/client.go b/gerrit/client.go
index fd8a244151ab..6197b0338e99 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
 }