1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 01:44:28 +00:00
This commit is contained in:
David Lewis
2018-03-27 14:32:13 -07:00
parent e3b9389db4
commit ca4908ff69

View File

@@ -112,11 +112,8 @@ func (c *Cluster) deployAddonsInclude(ctx context.Context) error {
func validateUserAddonYAML(addon []byte) error {
yamlContents := make(map[string]interface{})
if err := yaml.Unmarshal(addon, &yamlContents); err != nil {
return err
}
return nil
return yaml.Unmarshal(addon, &yamlContents)
}
func isFilePath(addonPath string) bool {