mirror of https://github.com/hashicorp/consul
add note about deleting TelemetryConfig.MergeDefaults in the future
parent
eda553ef1d
commit
bd0c7c2cd6
|
@ -202,6 +202,7 @@ type TelemetryConfig struct {
|
||||||
|
|
||||||
// MergeDefaults copies any non-zero field from defaults into the current
|
// MergeDefaults copies any non-zero field from defaults into the current
|
||||||
// config.
|
// config.
|
||||||
|
// TODO(kit): We no longer use this function and can probably delete it
|
||||||
func (c *TelemetryConfig) MergeDefaults(defaults *TelemetryConfig) {
|
func (c *TelemetryConfig) MergeDefaults(defaults *TelemetryConfig) {
|
||||||
if defaults == nil {
|
if defaults == nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue