mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 08:32:48 +02:00
fix checker error message (#1266)
Signed-off-by: petelock <pete2387@gmail.com>
This commit is contained in:
@@ -116,7 +116,7 @@ func TopConfigKeysVerifier(filePath string, helmfileContent []byte) (bool, error
|
||||
preKey := orderKeys[i-1]
|
||||
currentKey := orderKeys[i]
|
||||
if topkeysPriority[preKey] > topkeysPriority[currentKey] {
|
||||
return runtime.V1Mode, fmt.Errorf("top-level config key %s must be defined before %s in %s", preKey, currentKey, filePath)
|
||||
return runtime.V1Mode, fmt.Errorf("top-level config key %s must be defined before %s in %s", currentKey, preKey, filePath)
|
||||
}
|
||||
}
|
||||
return false, nil
|
||||
|
||||
Reference in New Issue
Block a user