Skip to content

Commit 64f5be8

Browse files
authored
fix(rdb): set maintenance pending status as non-transient (#1210)
1 parent 336d46a commit 64f5be8

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

packages/clients/src/api/document_db/v1beta1/content.gen.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ export const INSTANCE_TRANSIENT_STATUSES: InstanceStatus[] = [
2424
]
2525

2626
/** Lists transient statutes of the enum {@link MaintenanceStatus}. */
27-
export const MAINTENANCE_TRANSIENT_STATUSES: MaintenanceStatus[] = [
28-
'pending',
29-
'ongoing',
30-
]
27+
export const MAINTENANCE_TRANSIENT_STATUSES: MaintenanceStatus[] = ['ongoing']
3128

3229
/** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
3330
export const READ_REPLICA_TRANSIENT_STATUSES: ReadReplicaStatus[] = [

packages/clients/src/api/rdb/v1/content.gen.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ export const INSTANCE_TRANSIENT_STATUSES: InstanceStatus[] = [
3333
]
3434

3535
/** Lists transient statutes of the enum {@link MaintenanceStatus}. */
36-
export const MAINTENANCE_TRANSIENT_STATUSES: MaintenanceStatus[] = [
37-
'pending',
38-
'ongoing',
39-
]
36+
export const MAINTENANCE_TRANSIENT_STATUSES: MaintenanceStatus[] = ['ongoing']
4037

4138
/** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
4239
export const READ_REPLICA_TRANSIENT_STATUSES: ReadReplicaStatus[] = [

0 commit comments

Comments
 (0)