Skip to content

Commit

Permalink
Update digest.go
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 3, 2022
1 parent 1b1732a commit b937b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/docker/digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func ImageWithDigest(kc kubernetes.Interface, image string, k8sOpts *k8schain.Op

// CreateKeyChain a multi keychain based in input arguments
func CreateKeyChain(ctx context.Context, client kubernetes.Interface, k8sOpts *k8schain.Options) (authn.Keychain, error) {
// xref: https://github.com/google/k8s-digester/blob/v0.1.9/pkg/keychain/keychain.go#L42-L64
if k8sOpts != nil {
kChain, err := k8schain.New(ctx, client, *k8sOpts)
if err != nil {
Expand Down

0 comments on commit b937b3d

Please sign in to comment.