Merge pull request #4677 from lzp0412/develop

[ISSUE #4429] Fix mcp  can't be open
This commit is contained in:
liaochuntao 2021-01-12 20:56:03 +08:00 committed by GitHub
commit c6f04d4cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ import org.springframework.stereotype.Component;
public class IstioConfig {
@Value("${nacos.istio.mcp.server.enabled:false}")
private final boolean mcpServerEnabled = false;
private boolean mcpServerEnabled = false;
public boolean isMcpServerEnabled() {
return mcpServerEnabled;