gerrit.Client: set projectName and branchName
This commit is contained in:
parent
8129de3b9a
commit
0e8aa14045
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue