mhoppa commented on a change in pull request #4482: Rework 
cdns/name/:name/dnsseckeys/delete
URL: https://github.com/apache/trafficcontrol/pull/4482#discussion_r391078566
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/api/api.go
 ##########
 @@ -279,7 +279,7 @@ func WriteRespAlertObj(w http.ResponseWriter, r 
*http.Request, level tc.AlertLev
                return
        }
        w.Header().Set(rfc.ContentType, rfc.ApplicationJSON)
-       w.Write(append(respBts, '\n'))
+       _, _ = w.Write(append(respBts, '\n'))
 
 Review comment:
   ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to