diff --git a/builder/osc/common/omi_config.go b/builder/osc/common/omi_config.go index 3cb352e65..c4c8e5e0d 100644 --- a/builder/osc/common/omi_config.go +++ b/builder/osc/common/omi_config.go @@ -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