provider/aws_sd.go
func serviceToServiceSummary(service *sd.Service) *sd.ServiceSummary {
	if service == nil {
		return nil
	}

	return &sd.ServiceSummary{
		Name:          service.Name,
		Id:            service.Id,
		Arn:           service.Arn,
		Description:   service.Description,
		InstanceCount: service.InstanceCount,
	}
}
func serviceToServiceSummary(service *sd.Service) *sd.ServiceSummary {
	if service == nil {
		return nil
	}

	return &sd.ServiceSummary{
		Name:          service.Name,
		Id:            service.Id,
		Arn:           service.Arn,
		Description:   service.Description,
		InstanceCount: service.InstanceCount,
	}
}
func serviceToServiceSummary ( service * sd . Service ) * sd . ServiceSummary { if service == nil { return nil } return & sd . ServiceSummary { Name : service . Name , Id : service . Id , Arn : service . Arn , Description : service . Description , InstanceCount : service . InstanceCount , } }
// nolint: deadcode
// used from unit test
nolint : deadcode used from unit test