Skip to content

Commit 5890bea

Browse files
Update services/iaasalpha/wait/wait.go
Co-authored-by: João Palet <[email protected]>
1 parent c07153e commit 5890bea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

services/iaasalpha/wait/wait.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,11 @@ func DeleteServerWaitHandler(ctx context.Context, a APIClientInterface, projectI
187187
// Example usage:
188188
//
189189
// var httpResp *http.Response
190-
//
191190
// ctxWithHTTPResp := runtime.WithCaptureHTTPResponse(context.Background(), &httpResp)
192191
//
193192
// err = iaasalphaClient.AddPublicIpToServer(ctxWithHTTPResp, projectId, serverId, publicIpId).Execute()
194193
//
195194
// requestId := httpResp.Header[wait.XRequestIDHeader][0]
196-
//
197195
// _, err = wait.ProjectRequestWaitHandler(context.Background(), iaasalphaClient, projectId, requestId).WaitWithContext(context.Background())
198196
func ProjectRequestWaitHandler(ctx context.Context, a APIClientInterface, projectId, requestId string) *wait.AsyncActionHandler[iaasalpha.Request] {
199197
handler := wait.New(func() (waitFinished bool, response *iaasalpha.Request, err error) {

0 commit comments

Comments
 (0)