From 044c464289ef86b82b3f2b3586cd5809d54d0029 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 22 Dec 2021 15:43:45 -0700 Subject: [PATCH] added debug message Signed-off-by: Richard Jones --- plan/task/gitpull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plan/task/gitpull.go b/plan/task/gitpull.go index 5cf1f2ad..cb8532bd 100644 --- a/plan/task/gitpull.go +++ b/plan/task/gitpull.go @@ -55,6 +55,7 @@ func (c gitPullTask) Run(ctx context.Context, pctx *plancontext.Context, s solve 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())) gitPull.Remote = remote.String() } else if authToken := v.Lookup("auth.authToken"); plancontext.IsSecretValue(authToken) {