Skip to content

Commit

Permalink
feat(bsu): rename option to skip_create_omi
Browse files Browse the repository at this point in the history
  • Loading branch information
lde committed Apr 2, 2024
1 parent 0a29c35 commit 84d33af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions builder/bsu/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Config struct {
osccommon.BlockDevices `mapstructure:",squash"`
osccommon.RunConfig `mapstructure:",squash"`
VolumeRunTags osccommon.TagMap `mapstructure:"run_volume_tags"`
SkipSnapshot bool `mapstructure:"skip_snapshot"`
SkipCreateOmi bool `mapstructure:"skip_create_omi"`

ctx interpolate.Context
}
Expand Down Expand Up @@ -184,7 +184,7 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
},
}

if !b.config.SkipSnapshot {
if !b.config.SkipCreateOmi {
steps = append(steps,
&stepCreateOMI{
RawRegion: b.config.RawRegion,
Expand Down
4 changes: 2 additions & 2 deletions builder/bsu/builder.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84d33af

Please sign in to comment.