Module: check_mk
Branch: master
Commit: eb34f546d33291204baa67a5549313d428f5bfb3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb34f546d33291…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Apr 9 11:50:36 2019 +0200
agent_aws: Fixed return value of colleague contents of S3Summary section if no colleague
results
Change-Id: If749992e5fd58495282d52661098dca8c23c07f6
---
cmk/special_agents/agent_aws.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/special_agents/agent_aws.py b/cmk/special_agents/agent_aws.py
index 85bb891..7f50f5d 100644
--- a/cmk/special_agents/agent_aws.py
+++ b/cmk/special_agents/agent_aws.py
@@ -1266,7 +1266,7 @@ class S3Summary(AWSSectionGeneric):
colleague = self._received_results.get('s3_limits')
if colleague and colleague.content:
return AWSColleagueContents(colleague.content, colleague.cache_timestamp)
- return AWSColleagueContents({}, 0.0)
+ return AWSColleagueContents([], 0.0)
def _fetch_raw_content(self, colleague_contents):
found_buckets = []