Skip to content

Commit

Permalink
[Core] Feature #3432, code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
vahonc committed Dec 19, 2024
1 parent 6adb83c commit 377920f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function getStatus(): string
$numberOfReplicas = $this->helper->getNumberOfReplicas();
$numberOfNodes = $this->getNumberOfNodes();

if ($numberOfReplicas > 1 && $numberOfReplicas > ($numberOfNodes - 1)) {
if ($numberOfReplicas > 0 && $numberOfReplicas > ($numberOfNodes - 1)) {
return 'warning';
}

Expand Down

0 comments on commit 377920f

Please sign in to comment.