Skip to content

Commit

Permalink
[]bytes were being logged as b64ed string (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-decker committed Apr 14, 2023
1 parent 1c89e79 commit 97ce271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sources/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func CloneRepo(ctx context.Context, userInfo *url.Userinfo, gitUrl string, args
return "", nil, errors.New("clone command exited with no output")
}
if cloneCmd.ProcessState != nil && cloneCmd.ProcessState.ExitCode() != 0 {
logger.V(1).Info("git clone failed", "output", output, "error", err)
logger.V(1).Info("git clone failed", "output", string(output), "error", err)
return "", nil, fmt.Errorf("could not clone repo: %s, %w", safeUrl, err)
}

Expand Down

0 comments on commit 97ce271

Please sign in to comment.