Skip to content

Commit

Permalink
Merge pull request #448 from HighwayofLife/fix_447
Browse files Browse the repository at this point in the history
Fix for #447
  • Loading branch information
Alena Prokharchyk authored Mar 27, 2018
2 parents 19eb463 + ca4908f commit e2a034d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cluster/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e2a034d

Please sign in to comment.