Commit 5c590f6
committed
Low: fencer: Fix ISO 8601 interval parsing in pcmk_delay_base
An ISO 8601 interval can include a colon character. I can't think of any
valid reason why a user would specify an interval this way for a fencing
delay, but there doesn't seem to be any reason to exclude mapping values
that have a colon. The "make sure there's no colon" check seemed to be
an artifact of the way the parsing code worked before we started using
g_strsplit(), etc.
Signed-off-by: Reid Wahl <[email protected]>1 parent e01a014 commit 5c590f6
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
| |||
293 | 297 | | |
294 | 298 | | |
295 | 299 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
300 | 305 | | |
301 | 306 | | |
302 | 307 | | |
| |||
0 commit comments