Skip to content

Commit

Permalink
Merge pull request #1084 from s1061123/fix/del-noerr
Browse files Browse the repository at this point in the history
Suppress error message in cmdDel, in thick plugin
  • Loading branch information
dougbtv authored May 2, 2023
2 parents b05ff2d + 5d64ec3 commit 0c37bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/server/api/shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ func CmdCheck(args *skel.CmdArgs) error {
func CmdDel(args *skel.CmdArgs) error {
_, _, err := postRequest(args)
if err != nil {
return logging.Errorf("CmdDel (shim): %v", err)
// No error in DEL (as of CNI spec)
logging.Errorf("CmdCheck (shim): %v", err)
}
return nil
}
Expand Down

0 comments on commit 0c37bb0

Please sign in to comment.