updated unset env var message to not be confusing

This commit is contained in:
Nathan Vecchiarelli 2017-04-12 11:01:45 -04:00
parent bc8bbf8e01
commit 0de9b22485
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ func flagsForChart(chart *ChartSpec) ([]string, error) {
if isSet {
val = append(val, fmt.Sprintf("%s=%s", set.Name, value))
} else {
return nil, errors.New(fmt.Sprintf("Unset env var: %s", set.Name))
return nil, errors.New(fmt.Sprintf("Could not find environment var: %s. Please make sure it is set and try again.", set.Name))
}
}
flags = append(flags, "--set", strings.Join(val, ","))