Skip to content

Commit d0a5fd4

Browse files
committed
Update store/keychain godocs
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent 1495e91 commit d0a5fd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

store/keychain/keychain.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var ErrCollectionPathInvalid = errors.New("keychain collection path is invalid")
1010

1111
const (
1212
// the docker label is the default prefix on all keys stored by the keychain
13-
// e.g. io.docker.Secrets:encoded(realm/app/username)
13+
// e.g. io.docker.Secrets:id(realm/app/username)
1414
dockerSecretsLabel = "io.docker.Secrets"
1515
)
1616

@@ -37,7 +37,6 @@ func WithKeyPrefix[T store.Secret](prefix string) Options[T] {
3737

3838
// New creates a new keychain store
3939
//
40-
// collectionID is a singular noun indicating the collection name, e.g. "docker"
4140
// factory is a function used to instantiate new secrets of type T.
4241
func New[T store.Secret](factory Factory[T], opts ...Options[T]) (store.Store, error) {
4342
k := &keychainStore[T]{

0 commit comments

Comments
 (0)