Closed JC-Jiang closed 3 months ago
Reproduce steps
// export DD_AGENT_HOST=whatever client, err := statsd.New("", opts) cloned, err := statsd.CloneWithExtraOptions(client, ...)
observe an error can't clone client with no addrOption
can't clone client with no addrOption
In the New function, createWriter resolves the address in the function but it does not get set to the addOption in the client. It made the client not cloneable
Reproduce steps
observe an error
can't clone client with no addrOption
In the New function, createWriter resolves the address in the function but it does not get set to the addOption in the client. It made the client not cloneable