Rename gitcredentials Configure to ConfigureOurs
This commit is contained in:
parent
bd4ba5c39a
commit
177cf7d35b
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ func (flow *GitCredentialFlow) gitCredentialSetup(hostname, username, password s
|
|||
// If there is no credential helper configured then we will set ourselves up as
|
||||
// the credential helper for this host.
|
||||
if !flow.helper.IsConfigured() {
|
||||
return flow.HelperConfig.Configure(hostname)
|
||||
return flow.HelperConfig.ConfigureOurs(hostname)
|
||||
}
|
||||
|
||||
// Otherwise, we'll tell git to inform the existing credential helper of the new credentials.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ type HelperConfig struct {
|
|||
GitClient *git.Client
|
||||
}
|
||||
|
||||
func (hc *HelperConfig) Configure(hostname string) error {
|
||||
func (hc *HelperConfig) ConfigureOurs(hostname string) error {
|
||||
ctx := context.TODO()
|
||||
|
||||
credHelperKeys := []string{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue