func()

in pkg/aws/cloudmap.go [123:130]


func (c *CloudMapClient) getServiceTags(summary *servicediscovery.ServiceSummary) map[string]*string {
	tags := make(map[string]*string)
	getListTagsForResourceOutput, _ := c.service.ListTagsForResource(&servicediscovery.ListTagsForResourceInput{ResourceARN: summary.Arn})
	for _, serviceTag := range getListTagsForResourceOutput.Tags {
		tags[*serviceTag.Key] = serviceTag.Value
	}
	return tags
}