builder/dockerfile/mockbackend_test.go: suppress SA9005 (staticcheck)

```
builder/dockerfile/mockbackend_test.go:107:21: SA9005: struct doesn't have any exported fields, nor custom marshaling (staticcheck)
	return json.Marshal(rawImage(*i))
	                   ^
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-10-12 15:48:28 +02:00
parent 19a4fa7bf1
commit 301a2fbeca
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -104,7 +104,7 @@ func (i *mockImage) OperatingSystem() string {
func (i *mockImage) MarshalJSON() ([]byte, error) {
type rawImage mockImage
return json.Marshal(rawImage(*i))
return json.Marshal(rawImage(*i)) //nolint:staticcheck
}
type mockImageCache struct {