#502 Update switch name
This commit is contained in:
parent
d8b768b8a7
commit
210af3980c
@ -59,5 +59,5 @@ public class SwitchEntry {
|
||||
public static final String PARAM_JSON = "json";
|
||||
|
||||
public static final String OVERRIDDEN_SERVER_STATUS = "overriddenServerStatus";
|
||||
public static final String INSTANCE_DEFAULT_EPHEMERAL = "instanceDefaultEphemeral";
|
||||
public static final String DEFAULT_INSTANCE_EPHEMERAL = "defaultInstanceEphemeral";
|
||||
}
|
||||
|
@ -262,7 +262,7 @@ public class SwitchManager implements RecordListener<SwitchDomain> {
|
||||
switchDomain.setOverriddenServerStatus(status);
|
||||
}
|
||||
|
||||
if (entry.equals(SwitchEntry.INSTANCE_DEFAULT_EPHEMERAL)) {
|
||||
if (entry.equals(SwitchEntry.DEFAULT_INSTANCE_EPHEMERAL)) {
|
||||
String defaultEphemeral = value;
|
||||
switchDomain.setDefaultInstanceEphemeral(Boolean.parseBoolean(defaultEphemeral));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user