Skip to content

Commit

Permalink
log message
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Nov 19, 2021
1 parent 3607c83 commit 27400e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/elastic-agent/pkg/agent/cmd/enroll_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ func (c *enrollCmd) prepareFleetTLS() error {
}

if c.options.FleetServer.InternalPort > 0 {
c.log.Debugf("Internal endpoint configured to: %d. Changing this value is not supported.", c.options.FleetServer.InternalPort)
c.options.InternalURL = fmt.Sprintf("%s:%d", defaultFleetServerInternalHost, c.options.FleetServer.InternalPort)
}

Expand Down

0 comments on commit 27400e8

Please sign in to comment.