fix linting errors
This commit is contained in:
parent
f2cc89736b
commit
9ed42521c8
@ -42,8 +42,6 @@ func (m *MockResource) Type() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *MockResource) UnmarshalJSON(data []byte) error {
|
func (m *MockResource) UnmarshalJSON(data []byte) error {
|
||||||
fmt.Printf("UnmarshalJSON %#v\n", string(data))
|
|
||||||
panic(data)
|
|
||||||
if err := json.Unmarshal(data, m); err != nil {
|
if err := json.Unmarshal(data, m); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user