fix(server): wrong variable reference
The setter `setOpenShiftHost` is setting the existing value of
`masterUrlHost` and ignoring the provided new value, thus effectively it
is implemented as a no-op. This makes sure that the given value replaces
the existing value.
@@ -110,7 +110,7 @@ public class OpenShiftConfigurationProperties {
public void setOpenShiftHost(String openShiftHost) {
if (!masterUrlHost.equals(openShiftHost)) {
- openShiftClientConfig = new OpenShiftConfigBuilder().withMasterUrl(masterUrlHost).build();
+ openShiftClientConfig = new OpenShiftConfigBuilder().withMasterUrl(openShiftHost).build();
this.masterUrlHost = openShiftHost;
}
}
