Skip to content

Commit 6ecf4b5

Browse files
committed
chore: corrected constants deprecations
1 parent 0fcce82 commit 6ecf4b5

File tree

5 files changed

+61
-25
lines changed

5 files changed

+61
-25
lines changed

services/logme/wait/wait.go

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,23 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
27+
InstanceOperationTypeCreate = "create"
28+
InstanceOperationTypeUpdate = "update"
29+
InstanceOperationTypeDelete = "delete"
30+
31+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSuccess] instead.
2432
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
33+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2634
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
35+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2836
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
37+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3038
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
39+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3240
InstanceTypeDelete = "delete"
3341
)
3442

services/mariadb/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/opensearch/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/rabbitmq/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/redis/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

0 commit comments

Comments
 (0)