You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AYue-94 (via GitHub)" <gi...@apache.org> on 2023/05/16 09:27:14 UTC
[GitHub] [dubbo] AYue-94 opened a new issue, #12326: k8s client http2Disable default value is wrong
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] AlbumenJ closed issue #12326: k8s client http2Disable default value is wrong
Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #12326: k8s client http2Disable default value is wrong
URL: https://github.com/apache/dubbo/issues/12326
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org