From dd49f51a2813fa6f01c7a78231f228183f0fd7c0 Mon Sep 17 00:00:00 2001 From: Robert Hoppe Date: Mon, 8 Jul 2024 15:54:26 +0200 Subject: [PATCH] Introduce EnableServiceResponse wait handler (#216) Co-authored-by: Robert Hoppe --- pkg/services/service-enablement/v1/wait.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/service-enablement/v1/wait.go b/pkg/services/service-enablement/v1/wait.go index a0302fa..93b9d1e 100644 --- a/pkg/services/service-enablement/v1/wait.go +++ b/pkg/services/service-enablement/v1/wait.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" ) -func (*GetServiceResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, serviceID string) *wait.Handler { +func (*EnableServiceResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, serviceID string) *wait.Handler { return wait.New(func() (res interface{}, done bool, err error) { resp, err := c.GetService(ctx, projectID, serviceID)