Commit 75e8a0f
committed
engine: nest the requested null-check in the NIC allocation retry
Fold the requested-IPv4 throw and the address reset under a single requested != null guard instead of repeating the check on both branches.1 parent 0035c61 commit 75e8a0f
1 file changed
Lines changed: 6 additions & 4 deletions
File tree
- engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1127 | 1129 | | |
1128 | 1130 | | |
1129 | 1131 | | |
| |||
0 commit comments