From f13563b73accf288921a5d6141191b4a1fa1b19d Mon Sep 17 00:00:00 2001 From: Andrew Seigner Date: Thu, 13 Apr 2017 15:03:36 -0700 Subject: [PATCH] fix comment in custommetrics --- pkg/kubelet/custommetrics/custom_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/custommetrics/custom_metrics.go b/pkg/kubelet/custommetrics/custom_metrics.go index 1df5ff2a391..0b48c00d8b4 100644 --- a/pkg/kubelet/custommetrics/custom_metrics.go +++ b/pkg/kubelet/custommetrics/custom_metrics.go @@ -32,7 +32,7 @@ const ( // Alpha implementation. // Returns a path to a cAdvisor-specific custom metrics configuration. func GetCAdvisorCustomMetricsDefinitionPath(container *v1.Container) (*string, error) { - // Assuemes that the container has Custom Metrics enabled if it has "/etc/custom-metrics" directory + // Assumes that the container has Custom Metrics enabled if it has "/etc/custom-metrics" directory // mounted as a volume. Custom Metrics definition is expected to be in "definition.json". if container.VolumeMounts != nil { for _, volumeMount := range container.VolumeMounts {