diff --git a/internal/stack/clients.go b/internal/stack/clients.go index 447f8e3f2..6323f79c2 100644 --- a/internal/stack/clients.go +++ b/internal/stack/clients.go @@ -40,7 +40,7 @@ func NewKibanaClient(customOptions ...kibana.ClientOption) (*kibana.Client, erro client, err := kibana.NewClient(options...) if errors.Is(err, kibana.ErrUndefinedHost) { - return nil, UndefinedEnvError(ElasticsearchHostEnv) + return nil, UndefinedEnvError(KibanaHostEnv) } return client, err