Skip to content

Commit

Permalink
Introduce EnableServiceResponse wait handler (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hoppe <[email protected]>
  • Loading branch information
roberth1988 and Robert Hoppe authored Jul 8, 2024
1 parent b51e27a commit dd49f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/service-enablement/v1/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dd49f51

Please sign in to comment.