You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/04/20 14:15:15 UTC

[GitHub] [trafficcontrol] rob05c commented on issue #5758: `go vet`: Assignment copies lock value

rob05c commented on issue #5758:
URL: https://github.com/apache/trafficcontrol/issues/5758#issuecomment-823309813


   This is not a bug, the copy is necessary. Do not remove the Transport copy.
   
   I don't object to making `go vet` happy. But if someone is "fixing" this, please make sure the entire Transport is still copied. Changing it to not copy the Transport will be a serious and probably subtle bug.


-- 
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:
users@infra.apache.org