Skip to content

Commit f44957a

Browse files
carlpettmultani
andauthored
Update sops/read_data.go
Co-authored-by: Jonathan Ballet <[email protected]>
1 parent 581fc6e commit f44957a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sops/read_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func readData(content []byte, format string) (map[string]string, string, error)
1818
err = fmt.Errorf(userErr.UserError())
1919
}
2020
if err != nil {
21-
return nil, "", fmt.Errorf("Error decrypting sops file: %s", err)
21+
return nil, "", fmt.Errorf("Error decrypting sops file: %w", err)
2222
}
2323

2424
var data map[string]interface{}

0 commit comments

Comments
 (0)