added missing spot state: closed

This commit is contained in:
Adrian Cole 2011-03-08 14:59:00 -08:00
parent faa38774f4
commit fb4714cf33
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public class SpotInstanceRequest implements Comparable<SpotInstanceRequest> {
} }
public enum State { public enum State {
OPEN, ACTIVE, CANCELLED, UNRECOGNIZED; OPEN, ACTIVE, CANCELLED, CLOSED, UNRECOGNIZED;
public String value() { public String value() {
return (CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_HYPHEN, name())); return (CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_HYPHEN, name()));