Module: check_mk
Branch: master
Commit: d4fc0172831678eab64b2edf1f7c8a4b48881713
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d4fc0172831678…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Sat Feb 2 13:35:25 2019 +0100
agent_aws: Removed dead code
Change-Id: Ic96bc039282a71227c9db444debe3b15463a5b82
---
agents/special/agent_aws | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/agents/special/agent_aws b/agents/special/agent_aws
index a1fedff..e3fd3f5 100755
--- a/agents/special/agent_aws
+++ b/agents/special/agent_aws
@@ -395,10 +395,7 @@ class EC2Summary(AWSSectionGeneric):
return 300
def _get_colleague_contents(self):
- colleague = self._received_results.get('security_groups')
- if colleague and colleague.content:
- return AWSColleagueContents(colleague.content, colleague.cache_timestamp)
- return AWSColleagueContents([], 0)
+ return AWSColleagueContents(None, 0)
def _fetch_raw_content(self, colleague_contents):
# TODO Filter