change from error to warning

This commit is contained in:
Josh Patterson
2025-04-09 11:19:55 -04:00
parent 0f120f7500
commit 8ab38956d1

View File

@@ -89,7 +89,7 @@ def addIp(name, ip):
writeYaml(hostgroupsFilename, content)
logger.info(f"Successfully added IP {ip} to hostgroup {name}")
else:
logger.error(f"IP {ip} already exists in hostgroup {name}")
logger.warning(f"IP {ip} already exists in hostgroup {name}")
return 3
return 0