File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ func watchList(cmd *cobra.Command, inst *rpc.Instance) {
91
91
for event := range eventsChan {
92
92
feedback .PrintResult (watchEvent {
93
93
Type : event .EventType ,
94
+ Label : event .Port .Port .Label ,
94
95
Address : event .Port .Port .Address ,
95
96
Protocol : event .Port .Port .Protocol ,
96
97
ProtocolLabel : event .Port .Port .ProtocolLabel ,
98
+ Properties : event .Port .Port .Properties ,
97
99
Boards : event .Port .MatchingBoards ,
98
100
Error : event .Error ,
99
101
})
@@ -166,8 +168,10 @@ func (dr result) String() string {
166
168
type watchEvent struct {
167
169
Type string `json:"type"`
168
170
Address string `json:"address,omitempty"`
171
+ Label string `json:"label,omitempty"`
169
172
Protocol string `json:"protocol,omitempty"`
170
173
ProtocolLabel string `json:"protocol_label,omitempty"`
174
+ Properties map [string ]string `json:"properties"`
171
175
Boards []* rpc.BoardListItem `json:"boards,omitempty"`
172
176
Error string `json:"error,omitempty"`
173
177
}
You can’t perform that action at this time.
0 commit comments