zrhoffman commented on a change in pull request #4966:
URL: https://github.com/apache/trafficcontrol/pull/4966#discussion_r478483186



##########
File path: traffic_ops/traffic_ops_golang/server/servers.go
##########
@@ -650,10 +673,15 @@ func getServers(h http.Header, params map[string]string, 
tx *sqlx.Tx, user *auth
                if userErr != nil || sysErr != nil {
                        return nil, 0, errors.New("Forbidden"), sysErr, 
http.StatusForbidden, nil
                }
+
+               var joinSubQuery string
+               if version.Major >= 3 {

Review comment:
       Added null checks to calling functions and changed the function 
signature to accept a non-pointer version in 50ae3819eb.




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