Skip to content

Commit

Permalink
update docker typ
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-hc committed Jan 16, 2025
1 parent c3ca085 commit c238121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/helper/docker/testhelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/image"
"github.com/docker/docker/api/types/mount"
"github.com/docker/docker/api/types/network"
"github.com/docker/docker/api/types/strslice"
Expand Down Expand Up @@ -400,7 +401,7 @@ func (d *Runner) Start(ctx context.Context, addSuffix, forceLocalAddr bool) (*St
}

// best-effort pull
var opts types.ImageCreateOptions
var opts image.CreateOptions
if d.RunOptions.AuthUsername != "" && d.RunOptions.AuthPassword != "" {
var buf bytes.Buffer
auth := map[string]string{
Expand Down

0 comments on commit c238121

Please sign in to comment.