From 7bc7efc795db44d91cc2fb19c2a8576912c0b075 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 9 Jul 2020 17:30:47 +0100 Subject: [PATCH] Linting --- clientapi/routing/device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/device.go b/clientapi/routing/device.go index 9d4d38905..01310400a 100644 --- a/clientapi/routing/device.go +++ b/clientapi/routing/device.go @@ -169,7 +169,7 @@ func DeleteDeviceById( deviceID string, ) util.JSONResponse { ctx := req.Context() - defer req.Body.Close() + defer req.Body.Close() // nolint:errcheck bodyBytes, err := ioutil.ReadAll(req.Body) if err != nil { return util.JSONResponse{