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/iaasalpha/wait/wait.go
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -178,18 +178,23 @@ func DeleteServerWaitHandler(ctx context.Context, a APIClientInterface, projectI
178
178
returnhandler
179
179
}
180
180
181
-
// ProjectRequestWaitHandler will wait for a request to succeed
182
-
// It receives a request id that can be obtained from the x-request-id header in the http response of any operation in the IaaS API.
183
-
// To get the raw http response of an operation using the SDK, use the runtime.WithCaptureHTTPResponse method from the core pkg.
184
-
// Then the value of the request id can be obtained by accessing the header key which is defined in the constant XRequestIDHeader in this package.
181
+
// ProjectRequestWaitHandler will wait for a request to succeed.
182
+
//
183
+
// It receives a request ID that can be obtained from the "X-Request-Id" header in the HTTP response of any operation in the IaaS API.
184
+
// To get this response header, use the "runtime.WithCaptureHTTPResponse" method from the "core" packaghe to get the raw HTTP response of an SDK operation.
185
+
// Then, the value of the request ID can be obtained by accessing the header key which is defined in the constant "XRequestIDHeader" of this package.
0 commit comments