zrhoffman edited a comment on pull request #4920:
URL: https://github.com/apache/trafficcontrol/pull/4920#issuecomment-666035519


   > The servers sorting is different, in the sense that we need to double sort 
the slice, once by the server hostname, and the second sorting will be by the 
interface names of each server
   
   Right, but for the interface sorting part, is there a way to use a 
`SortableInterfaces` type and sort on that?
   
   If we can use the same code pattern for sorting across different Go 
interfaces, it will make it easier for the next maintainer who has to modify 
this code.


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