Remove unused files var

pull/6512/head
tstromberg 2020-02-05 14:53:02 -08:00
parent d66bcad56c
commit 77f74d82d7
1 changed files with 0 additions and 2 deletions

View File

@ -174,7 +174,6 @@ func isAddonAlreadySet(addon *assets.Addon, enable bool, profile string) (bool,
}
func enableOrDisableAddonInternal(addon *assets.Addon, cmd command.Runner, data interface{}, enable bool, profile string) error {
files := []string{}
deployFiles := []string{}
for _, addon := range addon.Assets {
@ -204,7 +203,6 @@ func enableOrDisableAddonInternal(addon *assets.Addon, cmd command.Runner, data
}
}()
}
files = append(files, fPath)
if strings.HasSuffix(fPath, ".yaml") {
deployFiles = append(deployFiles, fPath)
}