Closed gvso closed 4 years ago
This creates a new file traffic.go and move all the traffic-related methods to the new file. It also refactors the methods to return traffic configuration, so the main caller, UpdateService, can update the service's traffic.
This creates a new file traffic.go and move all the traffic-related methods to the new file. It also refactors the methods to return traffic configuration, so the main caller, UpdateService, can update the service's traffic.