Skip to content

Commit

Permalink
Simplify the validate method for serviceinfo
Browse files Browse the repository at this point in the history
Signed-off-by: catcherwong <[email protected]>
  • Loading branch information
catcherwong committed Nov 1, 2023
1 parent 8ce0631 commit 11016ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public boolean validate() {
continue;
}

for (int i = 0; i < host.getWeight(); i++) {
if (host.getWeight() > 0) {
validHosts.add(host);
}
}
Expand Down

0 comments on commit 11016ac

Please sign in to comment.