mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 03:04:02 -04:00
chore: remove unused code in omi config
This commit is contained in:
@@ -25,15 +25,6 @@ type OMIConfig struct {
|
||||
SnapshotGroups []string `mapstructure:"snapshot_groups"`
|
||||
}
|
||||
|
||||
func stringInSlice(s []string, searchstr string) bool {
|
||||
for _, item := range s {
|
||||
if item == searchstr {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *OMIConfig) Prepare(accessConfig *AccessConfig, ctx *interpolate.Context) []error {
|
||||
var errs []error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user