Skip to content

Commit

Permalink
removing 2 more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
manasachi committed Jun 27, 2024
1 parent 87e8aa2 commit 54f5678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/safeguards/preprocessing_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func getValues(chart *chart.Chart, valuesPath string) (chartutil.Values, error)

func getReleaseOptions(chart *chart.Chart, vals map[string]interface{}) (chartutil.Values, error) {
// Extract release options from values
releaseName, ok := vals["releaseName"].(string) //TODO: What do we want to do if a releaseName and namespace is not specified in the values.yaml?
releaseName, ok := vals["releaseName"].(string)
if !ok || releaseName == "" {
return nil, fmt.Errorf("releaseName not found or empty in values.yaml")
}
Expand Down

0 comments on commit 54f5678

Please sign in to comment.