diff --git a/probe/awsecs/client.go b/probe/awsecs/client.go index bf5b1a38d..8d56a4fd3 100644 --- a/probe/awsecs/client.go +++ b/probe/awsecs/client.go @@ -51,7 +51,7 @@ func (c ecsClient) getDeploymentMap() map[string]string { Services: page.ServiceArns, }) if err != nil { - // rather than trying to propogate errors up, just log a warning here + // rather than trying to propagate errors up, just log a warning here log.Warnf("Error describing some ECS services, ECS service report may be incomplete: %v", err) return } diff --git a/probe/awsecs/reporter.go b/probe/awsecs/reporter.go index bfbbc0c15..8752a07b5 100644 --- a/probe/awsecs/reporter.go +++ b/probe/awsecs/reporter.go @@ -6,6 +6,7 @@ import ( "github.com/weaveworks/scope/report" ) +// TaskFamily is the key that stores the task family of an ECS Task const ( TaskFamily = "ecs_task_family" ) @@ -45,7 +46,7 @@ func getLabelInfo(rpt report.Report) map[string]map[string]*taskInfo { return results } -// implements Tagger +// Reporter implements Tagger type Reporter struct { }