mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 18:00:42 +02:00
chore: remove obsolete exemption of os.PathError in test case
Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
This commit is contained in:
@@ -416,10 +416,7 @@ exec: helm --kube-context dev secrets view %s/secretName.yaml.gotmpl
|
||||
Decrypted %s/secretName.yaml.gotmpl into %s
|
||||
`, cwd, cwd, cwd, cwd, tmpFilePath)
|
||||
if err != nil {
|
||||
if _, ok := err.(*os.PathError); ok {
|
||||
} else {
|
||||
t.Errorf("Error: %v", err)
|
||||
}
|
||||
t.Errorf("Error: %v", err)
|
||||
}
|
||||
if d := cmp.Diff(expected, buffer.String()); d != "" {
|
||||
t.Errorf("helmexec.DecryptSecret(): want (-), got (+):\n%s", d)
|
||||
|
||||
Reference in New Issue
Block a user