mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-01-25 16:47:14 +08:00
test
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
This commit is contained in:
parent
57783f3084
commit
b0e9f7cc99
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ func (app *appContext) validateSopsFile(s *secret, file *secretFile) error {
|
|||
if app.checkMode != Manifest && (s.Format != Binary && s.Format != Dotenv && s.Format != Ini) {
|
||||
_, err := recurseSecretKey(s.Format, file.keys, s.Key)
|
||||
if err != nil {
|
||||
return fmt.Errorf("secret %s in %s is not valid: %w", s.Name, s.SopsFile, err)
|
||||
return fmt.Errorf("secret %s in %s is not valid: %w (format: %s)", s.Name, s.SopsFile, err, s.Format)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue