TaylorCFrey commented on a change in pull request #5351:
URL: https://github.com/apache/trafficcontrol/pull/5351#discussion_r541159326



##########
File path: traffic_ops/traffic_ops_golang/dbhelpers/db_helpers.go
##########
@@ -869,7 +869,7 @@ func CheckTopology(tx *sqlx.Tx, ds 
tc.DeliveryServiceNullableV30) (int, error, e
        }
 
        if err = topology_validation.CheckForEmptyCacheGroups(tx, 
cacheGroupIDs, []int{*ds.CDNID}, true, []int{}); err != nil {
-               return http.StatusBadRequest, fmt.Errorf("empty cachegroups in 
Topology %s found for CDN %d: %s", *ds.Topology, ds.CDNID, err.Error()), nil
+               return http.StatusBadRequest, fmt.Errorf("empty cachegroups in 
Topology %s found for CDN %d: %s", *ds.Topology, *ds.CDNID, err.Error()), nil

Review comment:
       Nice catch!




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