diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d8a50b59b0..c59dd893634 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### 5.6-SNAPSHOT #### Bugs +Fix : https configuration ignored for OpenShiftServer in CRUD mode #### Improvements diff --git a/openshift-server-mock/src/main/java/io/fabric8/openshift/client/server/mock/OpenShiftServer.java b/openshift-server-mock/src/main/java/io/fabric8/openshift/client/server/mock/OpenShiftServer.java index 62a53a675c9..0c277bb7ed5 100644 --- a/openshift-server-mock/src/main/java/io/fabric8/openshift/client/server/mock/OpenShiftServer.java +++ b/openshift-server-mock/src/main/java/io/fabric8/openshift/client/server/mock/OpenShiftServer.java @@ -57,7 +57,7 @@ public OpenShiftServer(boolean https, boolean crudMode) { public void before() { mock = crudMode - ? new OpenShiftMockServer(new Context(), new MockWebServer(), new HashMap<>(), new KubernetesCrudDispatcher(), true) + ? new OpenShiftMockServer(new Context(), new MockWebServer(), new HashMap<>(), new KubernetesCrudDispatcher(), https) : new OpenShiftMockServer(https); mock.init(); client = mock.createOpenShiftClient();