1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Multiples fix

This commit is contained in:
Tlams 2018-04-28 17:04:26 +01:00
parent da97c0c0de
commit cd7eaabde6
7 changed files with 18 additions and 16 deletions

View file

@ -418,7 +418,7 @@ class Core:
cache = self.redis_cache.get_message(hash_hex)
if cache is None or self.generalconf["logger"]["debug"] == True:
if cache is None or self.generalconf["logger"]["logs_level"] == 5:
clusters_informations = self.mongo.get_clusters_conf(cluster)
self.redis_cache.insert_message(hash_hex, clusters_informations, 500)
return clusters_informations
@ -441,7 +441,7 @@ class Core:
}
else:
new_cluster = {
"value": "{1} {0}".format(testdata, "Invalid or miss parametrer"),
"value": "{1} {0}".format(testdata, "Invalid or missing parameter"),
"result": "ERROR",
"type": "PROXMOX - VALUES"
}