Added functions with checks {"data": null} or {"data":[]} results from ProxMox API.
This is need for checking permissions in proxmox, correctness environment variables etc.
It is required in order to stop the ops giving the result as if everything is fine, but in fact nothing works with proxmox.
Currently in error messages uses 'local' and 'local-lvm' hard-coded words, later when we have customizable name of storages, this words be replaced by variables.
Added functions with checks {"data": null} or {"data":[]} results from ProxMox API. This is need for checking permissions in proxmox, correctness environment variables etc. It is required in order to stop the ops giving the result as if everything is fine, but in fact nothing works with proxmox. Currently in error messages uses 'local' and 'local-lvm' hard-coded words, later when we have customizable name of storages, this words be replaced by variables.