Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshk25 committed Oct 30, 2024
1 parent bc38048 commit 3ff9313
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public int hashCode() {
}

public void overrideNodeProperty(String hostname) {
if (!this.enabled && hostname != "") {
if (!this.enabled && hostname.isEmpty()) {
if (this.nodesEnabled != null && !this.nodesEnabled.isEmpty()) {
String[] hosts = this.nodesEnabled.split(",");
for (String host : hosts) {
Expand Down

0 comments on commit 3ff9313

Please sign in to comment.