Skip to content

Commit

Permalink
Fix environment variable reported in error (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm authored Sep 1, 2023
1 parent 019d4be commit f6a0186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/stack/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6a0186

Please sign in to comment.