Commit 4f13abf
[sushy_emulator] Replace regex with join filter for VM instance list
- Replace complex Jinja2 for-loop with idiomatic filter chain
(dict2items | selectattr | map | list)
- Remove regex_replace in favor of list in template
- Keep variable as list for loop/index access in tasks
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Sergii Golovatiuk <sgolovat@redhat.com>1 parent 82b1ab0 commit 4f13abf
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments