Skip to content

Commit 1bac81f

Browse files
authored
Add missing states in ServiceUpdateState (#2292)
1 parent 7957a14 commit 1bac81f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docker-java-api/src/main/java/com/github/dockerjava/api/model/ServiceUpdateState.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
* @since {@link RemoteApiVersion#VERSION_1_24}
77
*/
88
public enum ServiceUpdateState {
9+
@JsonProperty("unknown")
10+
UNKNOWN,
11+
912
@JsonProperty("updating")
1013
UPDATING,
1114

@@ -15,6 +18,12 @@ public enum ServiceUpdateState {
1518
@JsonProperty("completed")
1619
COMPLETED,
1720

21+
@JsonProperty("rollback_started")
22+
ROLLBACK_STARTED,
23+
24+
@JsonProperty("rollback_paused")
25+
ROLLBACK_PAUSED,
26+
1827
@JsonProperty("rollback_completed")
1928
ROLLBACK_COMPLETED
2029
}

0 commit comments

Comments
 (0)