AYue-94 opened a new issue, #12326:
URL: https://github.com/apache/dubbo/issues/12326
### Environment
* Dubbo version: 3.2.0
* Operating System version: macos10.15.7
* Java version: 1.8
### Steps to reproduce this issue
### Expected Behavior
set http2Disable default value into http2Disable.
```java
public class KubernetesConfigUtils {
public static Config createKubernetesConfig(URL url) {
Config base = Config.autoConfigure(null);
return new ConfigBuilder(base) //
// ...
.withTrustCerts(url.getParameter(TRUST_CERTS,
base.isTrustCerts())) //
.withHttp2Disable(url.getParameter(HTTP2_DISABLE,
base.isHttp2Disable())) //
.build();
}
}
```
### Actual Behavior
set trustCerts default value into http2Disable.
```java
public class KubernetesConfigUtils {
public static Config createKubernetesConfig(URL url) {
Config base = Config.autoConfigure(null);
return new ConfigBuilder(base) //
// ...
.withTrustCerts(url.getParameter(TRUST_CERTS,
base.isTrustCerts())) //
.withHttp2Disable(url.getParameter(HTTP2_DISABLE,
base.isTrustCerts())) // bug
.build();
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]