Remove legacy fields Protocol
, Host
, Path
from Config struct in internal/pkg/remote/config.go
#4771
Labels
enhancement
New feature or request
Team:Elastic-Agent
Label for the Agent team
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
remote.Config
struct contains fieldsProtocol
,Host
,Path
that are initialized from the enroll command using the--url
CLI option.Fleet sends connection parameters in policy change action only using
Hosts
as a[]string
containing full URLs without splitting them into URL parts.The goal of this issue is to refactor the
enroll
command to use the same field as we receive in the policy change action and remove the legacy fields to reduce the noise about fleet client configuration.The text was updated successfully, but these errors were encountered: