fixed etcd version hunting typo

This commit is contained in:
Daniel Sagi
2020-08-21 05:18:12 -07:00
parent 3e06647b4c
commit 45a92a9577
+1 -1
View File
@@ -135,7 +135,7 @@ class EtcdRemoteAccess(Hunter):
logger.debug(f"Trying to check etcd version remotely at {self.event.host}")
try:
r = requests.get(
f"{self.protocol}://{self.event.host}:{ETCD_PORT}/version",
f"{self.event.protocol}://{self.event.host}:{ETCD_PORT}/version",
verify=False,
timeout=config.network_timeout,
)