Skip to content

Commit c5f0a4a

Browse files
authored
Include invalid authType in error message (#105)
1 parent 88033ef commit c5f0a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sigv4/sigv4.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func createSigner(cfg *Config, verboseMode bool) (*v4.Signer, error) {
262262
}
263263
return v4.NewSigner(stscreds.NewCredentials(s, cfg.AssumeRoleARN), signerOpts), nil
264264
}
265-
return nil, fmt.Errorf("invalid SigV4 auth type")
265+
return nil, fmt.Errorf("invalid SigV4 auth type %q", authType)
266266
}
267267

268268
if cfg.AssumeRoleARN != "" {

0 commit comments

Comments
 (0)