Commit de534eb
committed
polycubed: remove port when error setting peer
A port is first created and then the peer is configured if needed, if something
goes wrong while setting the peer, remove the created port.
Signed-off-by: Mauricio Vasquez B <mauriciovasquezbernal@gmail.com>1 parent ac8edf4 commit de534eb
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
0 commit comments