Commit 17afe66
config: change inspect format (#4914)
**Which issue(s) this PR fixes**:
Fixes #
**What this PR does / why we need it**:
In the previous versions, it is hard to identify
the separator of elements.
Added attr: and elements: prefix for properties and mark it <...>.
Before:
```
name:ROOT, arg:, {}, [name:system, arg:,
{"config_include_dir"=>"..."}, [], name:source, arg:,
{"@type"=>"forward"}, [], name:source, arg:, {"@type"=>"tcp"}, []]
```
After:
```
<name:ROOT, arg:, attrs:{}, elements:[<name:system, arg:,
attrs:{"config_include_dir"=>"..."}, elements:[]>, <name:source,
arg:, attrs:{"@type"=>"forward"}, []>, <name:source, arg:,
atrrs:{"@type"=>"tcp"}, elements:[]>]
```
**Docs Changes**:
N/A
**Release Note**:
---------
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com>1 parent 86a95d5 commit 17afe66
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments