Skip to content

Commit

Permalink
gofmt tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
coopernetes committed Oct 14, 2023
1 parent 3f4712a commit 306052d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/container-structure-test/app/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func run(out io.Writer) error {
logrus.Fatalf("error connecting to daemon: %v", err)
}
if err = client.PullImage(docker.PullImageOptions{
Platform: opts.Platform,
Platform: opts.Platform,
Repository: ref.Context().RepositoryStr(),
Tag: ref.Identifier(),
Registry: ref.Context().RegistryStr(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type StructureTestOptions struct {
DefaultImageTag string
Driver string
Runtime string
Platform string
Platform string
Metadata string
TestReport string
ConfigFiles []string
Expand Down
2 changes: 1 addition & 1 deletion pkg/drivers/docker_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewDockerDriver(args DriverConfig) (Driver, error) {
env: nil,
save: args.Save,
runtime: args.Runtime,
platform: args.Platform,
platform: args.Platform,
runOpts: args.RunOpts,
}, nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/drivers/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type DriverConfig struct {
Save bool // used by Docker/Tar drivers
Metadata string // used by Host driver
Runtime string // used by Docker driver
Platform string // used by Docker driver
Platform string // used by Docker driver
RunOpts unversioned.ContainerRunOptions // used by Docker driver
}

Expand Down

0 comments on commit 306052d

Please sign in to comment.