You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/dns/wait/wait.go
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,18 @@ import (
10
10
)
11
11
12
12
const (
13
+
// Deprecated: CreateSuccess is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_CREATE_SUCCEEDED] or [dns.RECORDSETSTATE_CREATE_SUCCEEDED] instead.
13
14
CreateSuccess="CREATE_SUCCEEDED"
14
-
CreateFail="CREATE_FAILED"
15
+
// Deprecated: CreateFail is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_CREATE_FAILED] or [dns.RECORDSETSTATE_CREATE_FAILED] instead.
16
+
CreateFail="CREATE_FAILED"
17
+
// Deprecated: UpdateSuccess is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_UPDATE_SUCCEEDED] or [dns.RECORDSETSTATE_UPDATE_SUCCEEDED] instead.
15
18
UpdateSuccess="UPDATE_SUCCEEDED"
16
-
UpdateFail="UPDATE_FAILED"
19
+
// Deprecated: UpdateSuccess is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_UPDATE_FAILED] or [dns.RECORDSETSTATE_UPDATE_FAILED] instead.
20
+
UpdateFail="UPDATE_FAILED"
21
+
// Deprecated: UpdateSuccess is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_DELETE_SUCCEEDED] or [dns.RECORDSETSTATE_DELETE_SUCCEEDED] instead.
17
22
DeleteSuccess="DELETE_SUCCEEDED"
18
-
DeleteFail="DELETE_FAILED"
23
+
// Deprecated: UpdateSuccess is deprecated and will be removed after 9th November 2025. Use [dns.ZONESTATE_DELETE_FAILED] or [dns.RECORDSETSTATE_DELETE_FAILED] instead.
24
+
DeleteFail="DELETE_FAILED"
19
25
)
20
26
21
27
// Interfaces needed for tests
@@ -34,10 +40,10 @@ func CreateZoneWaitHandler(ctx context.Context, a APIClientInterface, projectId,
34
40
ifs.Zone.Id==nil||s.Zone.State==nil {
35
41
returnfalse, nil, fmt.Errorf("create failed for instance with id %s. The response is not valid: the id or the state are missing", instanceId)
0 commit comments