// NormalizeServices normalizes all services so theyt match the specified rules

NormalizeServices normalizes all services so theyt match the specified rules
// NormalizeServices normalizes all services so theyt match the specified rules
func NormalizeServices(c *routing.Context) error {
	err := ServiceDiscovery(c).NormalizeServices()
	if err != nil {
		return http.Error(c, "Normalization failed", 400, ServiceDiscoveryServiceName())
	}
	return http.OkFormated(c, "Normalization done.", ServiceDiscoveryServiceName())
}
func NormalizeServices ( c * routing . Context ) error { err := ServiceDiscovery ( c ) . NormalizeServices ( ) if err != nil { return http . Error ( c , " " , 400 , ServiceDiscoveryServiceName ( ) ) } return http . OkFormated ( c , " " , ServiceDiscoveryServiceName ( ) ) }
NormalizeServices normalizes all services so theyt match the specified rules
NormalizeServices normalizes all services so theyt match the specified rules