zrhoffman commented on code in PR #7073:
URL: https://github.com/apache/trafficcontrol/pull/7073#discussion_r974745382


##########
traffic_ops/traffic_ops_golang/deliveryservice/servers/servers_test.go:
##########
@@ -192,10 +194,13 @@ func getMockDSServers() []tc.DSServerV4 {
                CDNName:      util.StrPtr("cdnTest"),
                DomainName:   util.StrPtr("domain"),
        }
-       srv := tc.DSServerV4{
+       srvV40 := tc.DSServerV40{
                DSServerBaseV4:   base,
                ServerInterfaces: &[]tc.ServerInterfaceInfoV40{}, // left empty 
because it must be written as json above since sqlmock does not support nested 
arrays
        }
+       srv := tc.DSServerV4{
+               DSServerV40: srvV40,
+       }

Review Comment:
   This was changed in `TestGetEligibleServers()` but not in `TestReadServers()`



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to