Skip to content

Commit

Permalink
Patch code for docker 24.0.2 update
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Doherty <[email protected]>
  • Loading branch information
chrisdoherty4 committed May 29, 2023
1 parent 8cfc8c0 commit 1e89d1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tink-worker/worker/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"path"

"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/registry"
"github.com/pkg/errors"
)

Expand All @@ -32,7 +33,7 @@ type ImagePullStatus struct {
// PullImage outputs to stdout the contents of the requested image (relative to the registry).
func (m *containerManager) PullImage(ctx context.Context, image string) error {
l := m.getLogger(ctx)
authConfig := types.AuthConfig{
authConfig := registry.AuthConfig{
Username: m.registryDetails.Username,
Password: m.registryDetails.Password,
ServerAddress: m.registryDetails.Registry,
Expand Down

0 comments on commit 1e89d1b

Please sign in to comment.