示例#1
0
func deregisterService(service *services.Service) {
	log.Infof("Deregistering service: %s", service.Name)
	service.Deregister()
}
示例#2
0
func markServiceForMaintenance(service *services.Service) {
	log.Infof("Marking for maintenance: %s", service.Name)
	service.MarkForMaintenance()
}