mirror of https://github.com/apache/jclouds.git
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:
parent
8aca1828fc
commit
ca7ede5932
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue