Skip to content

Commit

Permalink
address ben's comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
timflyio committed Apr 16, 2024
1 parent 9b9cd21 commit 210de90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flyio/caveats.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,10 @@ func (c *Commands) Prohibits(a macaroon.Access) error {
continue
}
found = true
break
}
if !found {
return fmt.Errorf("%w commands %s", resset.ErrUnauthorizedForResource, commandArgs)
return fmt.Errorf("%w commands %v", resset.ErrUnauthorizedForResource, commandArgs)
}

return nil
Expand Down

0 comments on commit 210de90

Please sign in to comment.