Commit 18e11cc
committed
Pre-compile S3 Repo Type RegEx
The regex used to determine if an S3 restore was requested for
bootstrapping a new cluster is now precompiled in order to simplify
error checking and handling when the S3RepoTypeCLIOptionExists
function is used.1 parent 096112e commit 18e11cc
File tree
3 files changed
+7
-20
lines changed- internal
- apiserver/clusterservice
- operator
- backrest
- cluster
3 files changed
+7
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2145 | 2145 | | |
2146 | 2146 | | |
2147 | 2147 | | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
2151 | | - | |
| 2148 | + | |
2152 | 2149 | | |
2153 | 2150 | | |
2154 | 2151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 191 | + | |
195 | 192 | | |
196 | 193 | | |
197 | 194 | | |
| |||
303 | 300 | | |
304 | 301 | | |
305 | 302 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 303 | + | |
| 304 | + | |
312 | 305 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 246 | + | |
250 | 247 | | |
251 | 248 | | |
252 | 249 | | |
| |||
0 commit comments