Module: check_mk
Branch: master
Commit: 864aa5b6dc3323d2979e7a4c09f9c2fdd3b994af
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=864aa5b6dc3323…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Mon Apr 15 10:46:23 2019 +0200
agent_azure: remove unused attribute
Change-Id: I90018cb571ec1ad3abf2c3825b5acf8622f3c72a
---
agents/special/agent_azure | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/agents/special/agent_azure b/agents/special/agent_azure
index 607b853..a75cbfb 100755
--- a/agents/special/agent_azure
+++ b/agents/special/agent_azure
@@ -182,17 +182,16 @@ def parse_arguments(argv):
default=[],
metavar='TAG',
action='append',
- help='''Only monitor resources that have the specified TAG. To
require multiple tags,
- provide the option more than once.''')
+ help='''Only monitor resources that have the specified TAG.
+ To require multiple tags, provide the option more than
once.''')
parser.add_argument(
"--require-tag-value",
default=[],
metavar=("TAG", "VALUE"),
nargs=2,
action='append',
- help=
- '''Only monitor resources that have the specified TAG set to VALUE.
To require multiple tags,
- provide the option more than once.''')
+ help='''Only monitor resources that have the specified TAG set to
VALUE.
+ To require multiple tags, provide the option more than
once.''')
parser.add_argument(
"--explicit-config",
default=[],
@@ -510,7 +509,6 @@ class AzureClient(object): # pylint:
disable=too-many-instance-attributes
self.timespans = self._get_timespans()
self.resources_cache = None
- self.metrics_cache = {}
@staticmethod
def _get_timespans():