Add exis
This commit is contained in:
parent
bc1eec2f45
commit
8b2531dd11
1 changed files with 2 additions and 1 deletions
|
@ -171,9 +171,10 @@ same target, doing nothing."""
|
||||||
)
|
)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self._log.error(
|
self._log.error(
|
||||||
"Not enough interfaces?. %s",
|
"Not enough interfaces? %s",
|
||||||
iface
|
iface
|
||||||
)
|
)
|
||||||
|
sys.exit(1)
|
||||||
elif self.config['ip_method'] == 'web':
|
elif self.config['ip_method'] == 'web':
|
||||||
s = requests.Session()
|
s = requests.Session()
|
||||||
result = s.get(self.config['web_service_url'])
|
result = s.get(self.config['web_service_url'])
|
||||||
|
|
Loading…
Reference in a new issue