Skip to content

Commit

Permalink
Rolled back unnecessary change
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Oct 2, 2024
1 parent 407b8f6 commit 5ebe500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public ConfigurationMap getConfigurationsFromIndex(

private ConfigurationMap validate(ConfigurationMap conf, int expectedSize) throws InvalidConfigException {

if (conf == null || conf.size() < expectedSize) {
if (conf == null || conf.size() != expectedSize) {
throw new InvalidConfigException("Retrieved only partial configuration");
}

Expand Down

0 comments on commit 5ebe500

Please sign in to comment.