Fix property value type
This commit is contained in:
@@ -33,7 +33,7 @@ class RabbitDeployerEnvironmentPostProcessor implements EnvironmentPostProcessor
|
|||||||
public void postProcessEnvironment(ConfigurableEnvironment environment,
|
public void postProcessEnvironment(ConfigurableEnvironment environment,
|
||||||
SpringApplication application) {
|
SpringApplication application) {
|
||||||
if (!environment.containsProperty("spring.cloud.function.rsocket.enabled")) {
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user