nacos-spring-boot-project icon indicating copy to clipboard operation
nacos-spring-boot-project copied to clipboard

Bug in detecting where bootstrap is enable

Open kk17 opened this issue 4 years ago • 0 comments

https://github.com/nacos-group/nacos-spring-boot-project/blob/e9290b86b8eafeeb02d0b516b568a215c5b9c061/nacos-config-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/nacos/config/autoconfigure/NacosConfigEnvironmentProcessor.java#L101

I think here should be:

	boolean enable() {
		return nacosConfigProperties != null
				&& nacosConfigProperties.getBootstrap().isEnable();
	}

kk17 avatar Aug 12 '20 03:08 kk17