diff --git a/internal/util/healthz/content_type.go b/internal/util/healthz/content_type.go index 5976c1a292..d1ff3cca02 100644 --- a/internal/util/healthz/content_type.go +++ b/internal/util/healthz/content_type.go @@ -12,6 +12,8 @@ package healthz const ( + // ContentTypeHeader is the health check request type header. ContentTypeHeader = "Content-Type" - ContentTypeText = "text/plain" + // ContentTypeHeader is the health check request type text. + ContentTypeText = "text/plain" ) diff --git a/internal/util/healthz/router.go b/internal/util/healthz/router.go index e884030019..d2b4be45f0 100644 --- a/internal/util/healthz/router.go +++ b/internal/util/healthz/router.go @@ -11,4 +11,5 @@ package healthz +// HealthzRouterPath is default path for check health state. const HealthzRouterPath = "/healthz"