Commit 6a96161
committed
fix(pool): don't delete pool on abort
When creating pool, it may timeout. In this case we leave it as is, and
allow the caller to retry.
But on the first retry, if the pool has not completed the create, then
we see the abort error code instead, and in this case we should also
leave as is, and allow caller to retry again.
Also update the existing test to do the retry.
Signed-off-by: Tiago Castro <[email protected]>1 parent e997890 commit 6a96161
File tree
2 files changed
+22
-1
lines changed- control-plane/agents/src/bin/core
- controller/resources
- tests/pool
2 files changed
+22
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1090 | 1100 | | |
1091 | 1101 | | |
1092 | 1102 | | |
| |||
1114 | 1124 | | |
1115 | 1125 | | |
1116 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1117 | 1138 | | |
1118 | 1139 | | |
1119 | 1140 | | |
| |||
0 commit comments