We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9055243 commit 7b22226Copy full SHA for 7b22226
model/event_state.go
@@ -38,14 +38,8 @@ type eventStateForUnmarshal EventState
38
39
// UnmarshalJSON unmarshal EventState object from json bytes
40
func (e *EventState) UnmarshalJSON(data []byte) error {
41
- // var timeout EventStateTimeout
42
- // if err := json.Unmarshal(data, &timeout); err != nil {
43
- // return err
44
- // }
45
-
46
v := eventStateForUnmarshal{
47
Exclusive: true,
48
- // Timeouts: &timeout,
49
}
50
err := json.Unmarshal(data, &v)
51
if err != nil {
0 commit comments