-
Bug
-
Resolution: Done
-
Major
-
None
-
None
If you do IApplication#refresh on a OpenShift server which wont support environment variables, you'll get the following:
com.openshift.client.OpenShiftRequestException: Could not find link "LIST_ENVIRONMENT_VARIABLES" in resource "ApplicationResource" at com.openshift.internal.client.AbstractOpenShiftResource.getLink(AbstractOpenShiftResource.java:123) at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:142) at com.openshift.internal.client.ApplicationResource.loadEnvironmentVariables(ApplicationResource.java:622) at com.openshift.internal.client.ApplicationResource.updateEnvironmentVariables(ApplicationResource.java:693) at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:563)