Skip to content

Commit

Permalink
ignore 50X responses while waiting for config to update
Browse files Browse the repository at this point in the history
  • Loading branch information
emilybowe committed Jul 8, 2024
1 parent 0856b6f commit 859320b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ fun ClusterInfo.waitForConfigurationChange(
command { getConfig(section) }
condition {
val bodyJSON = it.body.toJson()
it.code == OK.statusCode && bodyJSON["sourceConfig"] != null
&& bodyJSON.sourceConfigNode()[key] != null && bodyJSON.sourceConfigNode()[key].toString() == value
bodyJSON["sourceConfig"] != null && bodyJSON.sourceConfigNode()[key] != null && bodyJSON.sourceConfigNode()[key].toString() == value
}
}
}
Expand Down

0 comments on commit 859320b

Please sign in to comment.