CloudStack template status parsing update

Remove the "Successfully Installed" message as it's not clear what its
definition is or even if it's possible to get that message - see
http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201209.mbox/%3CCED8A372-E235-4C32-A15E-F021CC449BFD%40citrix.com%3E
This commit is contained in:
Richard Downer 2012-09-02 10:22:33 +03:00
parent 8aca1828fc
commit ca7ede5932
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ public class Template implements Comparable<Template> {
else if (state.equals("Installing Template")) { return DOWNLOAD_IN_PROGRESS; } else if (state.equals("Installing Template")) { return DOWNLOAD_IN_PROGRESS; }
else if (state.equals("Installing ISO")) { return DOWNLOAD_IN_PROGRESS; } else if (state.equals("Installing ISO")) { return DOWNLOAD_IN_PROGRESS; }
else if (state.equals("Download Complete")) { return DOWNLOADED; } else if (state.equals("Download Complete")) { return DOWNLOADED; }
else if (state.equals("Successfully Installed")) { return DOWNLOADED; }
try { try {
return valueOf(checkNotNull(state, "state")); return valueOf(checkNotNull(state, "state"));
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {