Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ettec committed Nov 14, 2024
1 parent 0afe485 commit 44f3654
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/capabilities/remote/executable/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ func (r *server) getMessageHash(msg *types.MessageBody) ([32]byte, error) {

for _, path := range r.config.RequestHashExcludedAttributes {
if req.Inputs != nil {
if !req.Inputs.DeleteAtPath(path) {
return [32]byte{}, fmt.Errorf("failed to delete attribute from map at path: %s", path)
}
req.Inputs.DeleteAtPath(path)
}
}

Expand Down

0 comments on commit 44f3654

Please sign in to comment.