Skip to content

Commit

Permalink
Modify golangci-lint for more context
Browse files Browse the repository at this point in the history
  • Loading branch information
lubronzhan committed Aug 7, 2023
1 parent 50205ad commit b787ab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # tag=v3.6.0
with:
version: v1.53.3
version: v1.53.3
args: --out-format=line-number
2 changes: 1 addition & 1 deletion pkg/session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func login(ctx context.Context, logger logr.Logger, client *govmomi.Client, user
logger.Info("Bother usrename/password and userCertificate/userKey are set. Using the userCertificate/userKey")
}

logger.V(4).Info("Session.LoginByToken with certificate", string(userCert))
logger.V(4).Info("Session.LoginByToken with certificate", userCert)
signer, err := signer(ctx, logger, client.Client, userCert, userKey)
if err != nil {
return err
Expand Down

0 comments on commit b787ab4

Please sign in to comment.