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 nil, err
|
||||||
}
|
}
|
||||||
return &Client{
|
return &Client{
|
||||||
client: goGerritClient,
|
client: goGerritClient,
|
||||||
baseURL: URL,
|
baseURL: URL,
|
||||||
logger: logger,
|
logger: logger,
|
||||||
|
projectName: projectName,
|
||||||
|
branchName: branchName,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue