Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Small fix != -> ==
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhay committed Sep 7, 2018
1 parent a6e8ec6 commit 3261ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/config/yaml_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewYamlIfExists(configPath string) (*YamlConfig, error) {
}

func mergeYamlConfig(agentConf *Config, yc *YamlConfig) (*Config, error) {
if enabled, err := isAffirmative(yc.Process.NetworkTracingEnabled); err != nil {
if enabled, err := isAffirmative(yc.Process.NetworkTracingEnabled); err == nil {
agentConf.Enabled = enabled
}

Expand Down

0 comments on commit 3261ad7

Please sign in to comment.