Commit 6057a7b
authored
fix use of x-* attribute in go templates (#22403)
## Description
fix
https://docs.docker.com/compose/bridge/customize/#add-your-own-templates
as attributes with a `-` can't be accessed directly using dot-notation
in a go template. See
https://stackoverflow.com/questions/48146448/range-through-values-within-variable-containing-dashes-in-golang-templates
## Related issues or tickets
## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
Signed-off-by: Nicolas De Loof <[email protected]>1 parent b720d48 commit 6057a7b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments