diff --git a/command/agent/http.go b/command/agent/http.go index 83ea36e5d90..6371873d0e6 100644 --- a/command/agent/http.go +++ b/command/agent/http.go @@ -47,8 +47,9 @@ var ( // Set to false by stub_asset if the ui build tag isn't enabled uiEnabled = true - // Overridden if the ui build tag isn't enabled - stubHTML = "" + // Displayed when ui is disabled, but overridden if the ui build + // tag isn't enabled + stubHTML = "
Nomad UI is disabled
" // allowCORS sets permissive CORS headers for a handler allowCORS = cors.New(cors.Options{