Commit 21baf19
committed
gen_nodes: fix YAML indentation in pcipassthrough template
The template was generating malformed YAML with improper indentation
and missing newlines between passthrough entries. This caused parsing
errors: "Colons in unquoted values must be followed by a non-space
character."
Fixed by:
- Removing the trailing whitespace stripping after 'pcipassthrough:'
- Ensuring proper indentation for all passthrough entries
- Maintaining consistent whitespace control throughout the macro
The generated YAML now correctly produces a single 'pcipassthrough'
key with properly indented sub-entries for all devices.
Generated-by: Claude AI
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 3c839c0 commit 21baf19
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
0 commit comments