Bugfix: Correct validation for rabbitmq nodes

This commit is contained in:
Suven-p 2024-10-19 17:45:05 +05:45
parent 21a2d3c681
commit 0ba3773031

View file

@ -1789,7 +1789,7 @@ message HealthCheckResponse {
toast.error(this.$t("rabbitmqNodesRequired"));
return false;
}
if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://" || node.startsWith("https://")))) {
if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://") || node.startsWith("https://"))) {
toast.error(this.$t("rabbitmqNodesInvalid"));
return false;
}