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 2020/10/01 20:31:40 UTC

[GitHub] [trafficcontrol] rimashah25 commented on a change in pull request #5087: Added default sort functionality to all read()

rimashah25 commented on a change in pull request #5087:
URL: https://github.com/apache/trafficcontrol/pull/5087#discussion_r498497206



##########
File path: traffic_ops/traffic_ops_golang/api/api.go
##########
@@ -994,3 +994,11 @@ func CreateDeprecationAlerts(alternative *string) tc.Alerts {
 		return tc.CreateAlerts(tc.WarnLevel, "This endpoint is deprecated, and will be removed in the future")
 	}
 }
+
+// Sorting alphabetically for a given readertype (eg: TOCDN, TODeliveryService, TOOrigin etc).
+func Sort(readerType *APIInfo, param string) {

Review comment:
       Sure, I am ok with changing the name of the function.




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