Removes some useless comments.

This commit is contained in:
James Phillips 2017-06-25 10:32:35 -07:00
parent 1dc57ce5e4
commit 4a3604a3ee
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
2 changed files with 0 additions and 2 deletions

View File

@ -2343,7 +2343,6 @@ func (a *Agent) ReloadConfig(newCfg *Config) error {
return fmt.Errorf("Failed reloading metadata: %s", err)
}
// Reload the watches.
if err := a.reloadWatches(newCfg); err != nil {
return fmt.Errorf("Failed reloading watches: %v", err)
}

View File

@ -271,7 +271,6 @@ func TestAgent_Reload(t *testing.T) {
t.Fatalf("missing redis-reloaded service")
}
// Verify that previous config's watch plans were stopped.
for _, wp := range cfg.WatchPlans {
if !wp.IsStopped() {
t.Fatalf("Reloading configs should stop watch plans of the previous configuration")