Commit 8beb5cb
remote/client: print full resource identifier on monitor
`labgrid-client monitor` prints resources as
`<exporter>/<group>/<name>`, while the resource match pattern has the
format `<exporter>/<group>/<class>/<name>`. The `/<name>` is optional.
So in `labgrid-client monitor`, the class name is missing. This is
confusing. Resource match patterns cannot be copy/pasted into
`labgrid-client add-match` or `labgrid-client add-named-match`.
Fix that by printing the full resource identifier for the monitor
subcommand.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
(cherry picked from commit f9d4ccd)
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>1 parent bd06df0 commit 8beb5cb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments