kvdb+cmd: fix typos

This commit is contained in:
Thabokani committed 2024-01-03 12:06:32 +08:00
1 parent 55072bfd5e
commit b8d2fc3816
7 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -453,7 +453,7 @@ func constrainMacaroon(ctx *cli.Context) error {
// add first-party caveats (if necessary) to it.
sourceMac := &macaroon.Macaroon{}
if err = sourceMac.UnmarshalBinary(sourceMacBytes); err != nil {
return fmt.Errorf("error unmarshaling source macaroon file "+
return fmt.Errorf("error unmarshalling source macaroon file "+
"%s: %v", sourceMacFile, err)
}