Skip to content

Commit

Permalink
Bugfix: Correct validation for rabbitmq nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Suven-p committed Oct 19, 2024
1 parent 21a2d3c commit 0ba3773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/EditMonitor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ba3773

Please sign in to comment.