diff --git a/cmd/formatter/logs.go b/cmd/formatter/logs.go index 465aa229a91..c271acbe2e5 100644 --- a/cmd/formatter/logs.go +++ b/cmd/formatter/logs.go @@ -97,7 +97,7 @@ func (l *logConsumer) Log(container, message string) { l.write(l.stdout, container, message) } -// Log formats a log message as received from name/container +// Err formats a log message as received from name/container func (l *logConsumer) Err(container, message string) { l.write(l.stderr, container, message) } diff --git a/pkg/compose/metrics.go b/pkg/compose/metrics.go index 7bd9ad698d3..697b9dd1e43 100644 --- a/pkg/compose/metrics.go +++ b/pkg/compose/metrics.go @@ -16,7 +16,7 @@ package compose -// FailureCategory sruct regrouping metrics failure status and specific exit code +// FailureCategory struct regrouping metrics failure status and specific exit code type FailureCategory struct { MetricsStatus string ExitCode int