Fix property value type

This commit is contained in:
Oleg Zhurakousky
2023-09-26 07:09:05 +02:00
parent e5c298e3bc
commit 38ce1f79d9

View File

@@ -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");
}
}