Skip to content

Commit

Permalink
Fix property value type
Browse files Browse the repository at this point in the history
  • Loading branch information
olegz committed Sep 26, 2023
1 parent e5c298e commit 38ce1f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RabbitDeployerEnvironmentPostProcessor implements EnvironmentPostProcessor
public void postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application) {
if (!environment.containsProperty("spring.cloud.function.rsocket.enabled")) {
environment.getSystemProperties().putIfAbsent("spring.cloud.function.rsocket.enabled", false);
environment.getSystemProperties().putIfAbsent("spring.cloud.function.rsocket.enabled", "false");
}
}

Expand Down

0 comments on commit 38ce1f7

Please sign in to comment.