Commit 1c20608
[cmd/mdatagen] Fixed bug in component_test.go.tmpl (#10882)
When SkipLifecycle & SkipShutdown are set to true, the generated file
will have an unused import `confmaptest`
#### Description
The Metadata Generator had a bug described above, With this change, that
issue has been addressed.
#### Link to tracking issue
Fixes #10866
---------
Co-authored-by: Alex Boten <[email protected]>1 parent 18d5c02 commit 1c20608
File tree
2 files changed
+26
-1
lines changed- .chloggen
- cmd/mdatagen/templates
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments