Remove unused files var
parent
d66bcad56c
commit
77f74d82d7
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue