-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CNI crashing when there is no available IP addresses. (#1499)
* Fix two bug in CNI/IPamd code path 1. when IPAMD returns "no ip available error", the err variable get overwritten to nil when get VPCCIDRs 2. when DelNetwork returns err, the r.Success will cause nil-pointer exception and crash CNI * fix test cases * address commits
- Loading branch information
Showing
3 changed files
with
142 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters