Skip to content

Commit 94e1392

Browse files
committed
remove outdated comment
Signed-off-by: Grant Linville <[email protected]>
1 parent ed1fbcb commit 94e1392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/credentials/credential.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (c Credential) toDockerAuthConfig() (types.AuthConfig, error) {
4141
}
4242

4343
return types.AuthConfig{
44-
Username: string(c.Type), // Username is required, but not used
44+
Username: string(c.Type),
4545
Password: string(cred),
4646
ServerAddress: toolNameWithCtx(c.ToolName, c.Context),
4747
}, nil

0 commit comments

Comments
 (0)