gerrit.Client: set projectName and branchName

This commit is contained in:
Florian Klink 2019-12-02 14:38:23 +01:00
parent 8129de3b9a
commit 0e8aa14045

View file

@ -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
}