Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Jun 17, 2023
1 parent f5346f3 commit 2b13ab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -4162,9 +4162,6 @@ func (a *Agent) reloadConfig(autoReload bool) error {
}
}

a.enableDebug.Store(newCfg.EnableDebug)
a.config.EnableDebug = newCfg.EnableDebug

return a.reloadConfigInternal(newCfg)
}

Expand Down Expand Up @@ -4299,6 +4296,9 @@ func (a *Agent) reloadConfigInternal(newCfg *config.RuntimeConfig) error {

a.proxyConfig.SetUpdateRateLimit(newCfg.XDSUpdateRateLimit)

a.enableDebug.Store(newCfg.EnableDebug)
a.config.EnableDebug = newCfg.EnableDebug

return nil
}

Expand Down

0 comments on commit 2b13ab0

Please sign in to comment.