added debug message
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
2b95bf1536
commit
044c464289
@ -55,6 +55,7 @@ func (c gitPullTask) Run(ctx context.Context, pctx *plancontext.Context, s solve
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lg.Debug().Str("username", gitPull.Auth.Username).Str("password", "***").Msg("using username:password auth")
|
||||||
remote.User = url.UserPassword(gitPull.Auth.Username, strings.TrimSpace(pwdSecret.PlainText()))
|
remote.User = url.UserPassword(gitPull.Auth.Username, strings.TrimSpace(pwdSecret.PlainText()))
|
||||||
gitPull.Remote = remote.String()
|
gitPull.Remote = remote.String()
|
||||||
} else if authToken := v.Lookup("auth.authToken"); plancontext.IsSecretValue(authToken) {
|
} else if authToken := v.Lookup("auth.authToken"); plancontext.IsSecretValue(authToken) {
|
||||||
|
Reference in New Issue
Block a user