mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
change from error to warning
This commit is contained in:
@@ -89,7 +89,7 @@ def addIp(name, ip):
|
|||||||
writeYaml(hostgroupsFilename, content)
|
writeYaml(hostgroupsFilename, content)
|
||||||
logger.info(f"Successfully added IP {ip} to hostgroup {name}")
|
logger.info(f"Successfully added IP {ip} to hostgroup {name}")
|
||||||
else:
|
else:
|
||||||
logger.error(f"IP {ip} already exists in hostgroup {name}")
|
logger.warning(f"IP {ip} already exists in hostgroup {name}")
|
||||||
return 3
|
return 3
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user