Skip to content

Commit

Permalink
osbuild(container-deploy): make ContainerDeployOptions.Exclude "omite…
Browse files Browse the repository at this point in the history
…mpty"

The osbuild stage will fail if we pass `None` here.
  • Loading branch information
mvo5 committed Mar 12, 2024
1 parent 5c0ec07 commit 011383b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/osbuild/container_deploy_stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type ContainerDeployInputs struct {
func (ContainerDeployInputs) isStageInputs() {}

type ContainerDeployOptions struct {
Exclude []string `json:"exclude"`
Exclude []string `json:"exclude,omitempty"`
}

func (ContainerDeployOptions) isStageOptions() {}
Expand Down

0 comments on commit 011383b

Please sign in to comment.