Skip to content

Commit

Permalink
Update provider.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Dec 6, 2024
1 parent c49e7f1 commit 6c1461d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/configprovider/opampprovider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ConfigFragment struct {
Extensions struct {
OpAmp struct {
RemoteConfigurationDirectory string `yaml:"remote_configuration_directory"`
DisableTagNewConfigMerge bool `yaml:"disable_tag_new_config_merge"`
DisableTagReplacement bool `yaml:"disable_tag_replacement"`
} `yaml:"opamp"`
} `yaml:"extensions"`
}
Expand All @@ -49,7 +49,7 @@ func (c ConfigFragment) ConfigDir() string {
}

func (c ConfigFragment) IsRemotelyManagedMergeFlow() bool {
return !c.Extensions.OpAmp.DisableTagNewConfigMerge
return !c.Extensions.OpAmp.DisableTagReplacement
}

func (c ConfigFragment) Validate() error {
Expand Down

0 comments on commit 6c1461d

Please sign in to comment.