MylesBock commented on a change in pull request #5312:
URL: https://github.com/apache/trafficcontrol/pull/5312#discussion_r527350852



##########
File path: traffic_ops/traffic_ops_golang/server/servers_assignment.go
##########
@@ -269,7 +277,9 @@ INSERT INTO deliveryservice_server (deliveryservice, server)
 
        //need remap config location
        var atsConfigLocation string
-       if err := tx.QueryRow("SELECT value FROM parameter WHERE name = 
'location' AND config_file = '" + atscfg.RemapFile + 
"'").Scan(&atsConfigLocation); err != nil {
+       if err := tx.QueryRow("SELECT value FROM parameter " +
+               "WHERE name = 'location'" +
+               " AND config_file = '" + RemapFile + 
"'").Scan(&atsConfigLocation); err != nil {

Review comment:
       Done, goland did this multiline concatenation for me and that really 
isn't nitpicking it will highlight the backtick delimited string appropriately 
unlike the previous string




----------------------------------------------------------------
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]


Reply via email to