mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-29 02:02:06 -04:00
chore: remove unused code in omi config
This commit is contained in:
parent
7d024b9725
commit
793b3f1990
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue