Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ph committed Feb 12, 2020
1 parent 3c87de4 commit e042ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/agent/pkg/agent/application/enroll_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type EnrollCmdOption struct {
EnrollAPIKey string
}

func (e *EnrollCmdOption) KibanaConfig() (*kibana.Config, error) {
func (e *EnrollCmdOption) kibanaConfig() (*kibana.Config, error) {
cfg, err := kibana.NewConfigFromURL(e.URL)
if err != nil {
return nil, err
Expand Down Expand Up @@ -108,7 +108,7 @@ func NewEnrollCmdWithStore(
store store,
) (*EnrollCmd, error) {

cfg, err := options.KibanaConfig()
cfg, err := options.kibanaConfig()
if err != nil {
return nil, errors.New(err,
"invalid Kibana configuration",
Expand Down

0 comments on commit e042ea5

Please sign in to comment.