kvdb+cmd: fix typos

This commit is contained in:
Thabokani
2023-12-30 19:47:41 +08:00
parent 55072bfd5e
commit b8d2fc3816
7 changed files with 9 additions and 9 deletions

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)
}