From 4a3604a3eefbff4c7245d3790d26a37f5d5aa206 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Sun, 25 Jun 2017 10:32:35 -0700 Subject: [PATCH] Removes some useless comments. --- agent/agent.go | 1 - agent/agent_endpoint_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/agent/agent.go b/agent/agent.go index e2e5a7af42..ecac139863 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -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) } diff --git a/agent/agent_endpoint_test.go b/agent/agent_endpoint_test.go index 31e264ac8f..401248539d 100644 --- a/agent/agent_endpoint_test.go +++ b/agent/agent_endpoint_test.go @@ -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")