chore: update output format in golangci-lint config and improve response writing in tests
This commit is contained in:
@@ -7,3 +7,6 @@ linters:
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
output:
|
||||
format: colored-line-number
|
||||
|
||||
@@ -108,7 +108,7 @@ func newMockDeviceStorageServer() *httptest.Server {
|
||||
</SOAP-ENV:Envelope>`
|
||||
}
|
||||
|
||||
w.Write([]byte(response))
|
||||
_, _ = w.Write([]byte(response))
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user