Skip to content

Commit

Permalink
Merge pull request #74 from dougbtv/stuck-creating
Browse files Browse the repository at this point in the history
Removes error when deallocating IP errors out, instead just warns.
  • Loading branch information
dougbtv committed Nov 13, 2020
2 parents f911376 + 36bc6e1 commit a5227d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/whereabouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func cmdDel(args *skel.CmdArgs) error {

_, err = storage.IPManagement(types.Deallocate, *ipamConf, args.ContainerID)
if err != nil {
logging.Errorf("Error deallocating IP: %s", err)
return fmt.Errorf("Error deallocating IP: %s", err)
logging.Verbosef("WARNING: Problem deallocating IP: %s", err)
// return fmt.Errorf("Error deallocating IP: %s", err)
}

return nil
Expand Down

0 comments on commit a5227d6

Please sign in to comment.