diff --git a/pkg/status/render/helpers.go b/pkg/status/render/helpers.go index 6ecd44a67f2c97..d32c41c70f439d 100644 --- a/pkg/status/render/helpers.go +++ b/pkg/status/render/helpers.go @@ -72,7 +72,7 @@ func Textfmap() ttemplate.FuncMap { } } -var timeFormat = "2006-01-02 15:04:05.999 MST" +const timeFormat = "2006-01-02 15:04:05.999 MST" func doNotEscape(value string) htemplate.HTML { return htemplate.HTML(value) diff --git a/pkg/status/render/render.go b/pkg/status/render/render.go index 62f5bccbc5d279..a8edf8dd03b88a 100644 --- a/pkg/status/render/render.go +++ b/pkg/status/render/render.go @@ -3,8 +3,7 @@ // This product includes software developed at Datadog (https://www.datadoghq.com/). // Copyright 2016-present Datadog, Inc. -// package render has all the formating options for status output - +// Package render has all the formating options for status output package render import (