Skip to content

Commit 1c44a23

Browse files
committed
do not include tags and selectors in on-the-wire protocol
The new tag and selector fields must not be included in the msgpack messages sent towards the backend, as they will not be expected by the receiving side.
1 parent 6c77ab3 commit 1c44a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

observation/input_observation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type InputObservation struct {
1818
SensorID string `codec:"I"`
1919
TimestampEnd time.Time `codec:"L"`
2020
TimestampStart time.Time `codec:"F"`
21-
Tags map[string]struct{} `codec:"G,omitempty"`
22-
Selectors map[interface{}]struct{} `codec:"S,omitempty"`
21+
Tags map[string]struct{} `codec:"-,omitempty"`
22+
Selectors map[interface{}]struct{} `codec:"-,omitempty"`
2323
}
2424

2525
// InChan is the global input channel delivering InputObservations from

0 commit comments

Comments
 (0)