Skip to content

Commit

Permalink
adding platform option to generateContainerCheckOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Adam D. Cornett <adc@redhat.com>
  • Loading branch information
acornett21 committed Jan 27, 2023
1 parent 9e2b88b commit dd634ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/preflight/cmd/check_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func generateContainerCheckOptions(cfg *runtime.Config) []container.Option {
container.WithDockerConfigJSONFromFile(cfg.DockerConfig),
// Always add PyxisHost, since the value is always set in viper config parsing.
container.WithPyxisHost(cfg.PyxisHost),
container.WithPlatform(cfg.Platform),
}

// set auth information if both are present in config.
Expand Down

0 comments on commit dd634ab

Please sign in to comment.