Module: check_mk
Branch: master
Commit: 84921acee7b36bf31c320fba610a32ef838eaf8e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=84921acee7b36b…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Feb 13 15:13:54 2019 +0100
agent_aws: Use AnyStr for piggyback hostname
Change-Id: I92b9c3119b7e2f42c1f3c174613db1756de9964e
---
agents/special/agent_aws | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/special/agent_aws b/agents/special/agent_aws
index 4693b61..d68c489 100755
--- a/agents/special/agent_aws
+++ b/agents/special/agent_aws
@@ -35,7 +35,7 @@ import logging
import sys
import time
import errno
-from typing import NamedTuple, Any, List
+from typing import NamedTuple, Any, List, AnyStr
from pathlib2 import Path
import boto3 # type: ignore
import botocore # type: ignore
@@ -101,7 +101,7 @@ AWSSectionResults = NamedTuple("AWSSectionResults", [
])
AWSSectionResult = NamedTuple("AWSSectionResult", [
- ("piggyback_hostname", Any),
+ ("piggyback_hostname", AnyStr),
("content", Any),
])