Skip to content

Commit

Permalink
#502 Update switch name
Browse files Browse the repository at this point in the history
  • Loading branch information
nkorange committed Apr 2, 2019
1 parent d8b768b commit 210af39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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";
}
Expand Up @@ -262,7 +262,7 @@ public void update(String entry, String value, boolean debug) throws Exception {
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));
}
Expand Down

0 comments on commit 210af39

Please sign in to comment.