Skip to content

Commit

Permalink
fix: Remove deprecated access_control_group_configuration_no config
Browse files Browse the repository at this point in the history
  • Loading branch information
wonchulee authored and nywilken committed Jun 20, 2023
1 parent 11a9ead commit 2b4c363
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 157 deletions.
7 changes: 0 additions & 7 deletions builder/ncloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ type Config struct {
// - values: public / gov / fin
Site string `mapstructure:"site" required:"false"`

// Deprecated
AccessControlGroupConfigurationNo string `mapstructure:",skip"`

Comm communicator.Config `mapstructure:",squash"`
ctx *interpolate.Context
}
Expand Down Expand Up @@ -158,10 +155,6 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) {
errs = packersdk.MultiErrorAppend(errs, errors.New("if `user_data` field is set, length of UserData should be max 21847"))
}

if c.AccessControlGroupConfigurationNo != "" {
errs = packersdk.MultiErrorAppend(errs, errors.New("`access_control_group_configuration_no` is deprecated, please use `access_control_group_no` instead"))
}

if c.VpcNo != "" || c.SubnetNo != "" {
c.SupportVPC = true
}
Expand Down
Loading

0 comments on commit 2b4c363

Please sign in to comment.