Commit 2608fd1
Fix rotate_app_creds YAML parsing when from_yaml returns a list
The clouds.yaml stored in the OCP secret starts with '---' (from
to_nice_yaml), causing from_yaml to return a list instead of a dict.
Strip the document separator before piping to the secret and handle
both list/dict cases when parsing the verification readback.
OSPRH-6485
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent da3299d commit 2608fd1
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments