Swaps s-c-k8s enabled default to true.

This commit is contained in:
Spencer Gibb
2019-07-01 11:20:33 -04:00
parent fa9483ba24
commit 599f96a7b3

View File

@@ -43,8 +43,8 @@ public class KubernetesProfileEnvironmentPostProcessor
public void postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application) {
final String enabledStr = environment.getProperty("spring.cloud.kubernetes.enabled", "false");
if ("true".equals(enabledStr.toLowerCase())) {
final String enabledStr = environment.getProperty("spring.cloud.kubernetes.enabled", "true");
if ("false".equals(enabledStr.toLowerCase())) {
return;
}