Rename gitcredentials Configure to ConfigureOurs

This commit is contained in:
William Martin 2024-05-16 13:11:00 +02:00
parent bd4ba5c39a
commit 177cf7d35b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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