1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Fix grammar.

Co-authored-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Felix Fontein
2025-09-10 06:15:05 +02:00
parent e1995e1c78
commit e311a4f7d5

View File

@@ -221,7 +221,7 @@ func formatError(msg string, err error, errs errSet, unusedLocations []string) e
} else {
unusedSuffix = fmt.Sprintf("s '%s', and '%s'", strings.Join(unusedLocations[:count - 1], "', '"), unusedLocations[count - 1])
}
unusedSuffix = fmt.Sprintf(". Did not found keys in location%s.", unusedSuffix)
unusedSuffix = fmt.Sprintf(". Did not find keys in location%s.", unusedSuffix)
}
if err != nil {
return fmt.Errorf("%s: %w%s%s", msg, err, loadSuffix, unusedSuffix)