Skip to content

Commit 2a67ef1

Browse files
committed
make linter happy
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
1 parent 6ba4edf commit 2a67ef1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

credentials/credentials.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ func (c *Credentials) isValid() (bool, error) {
3333
return true, nil
3434
}
3535

36-
// Docker credentials should be labeled as such in credentials stores that allow labelling.
36+
// CredsLabel holds the way Docker credentials should be labeled as such in credentials stores that allow labelling.
3737
// That label allows to filter out non-Docker credentials too at lookup/search in macOS keychain,
3838
// Windows credentials manager and Linux libsecret. Default value is "Docker Credentials"
3939
var CredsLabel = "Docker Credentials"
4040

41+
// SetCredsLabel is a simple setter for CredsLabel
4142
func SetCredsLabel(label string) {
4243
CredsLabel = label
4344
}

0 commit comments

Comments
 (0)