Skip to content

Commit

Permalink
fix dsa wait
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Oren committed Mar 28, 2023
1 parent 7abcb18 commit df86429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
client_timeout_err = "Client.Timeout exceeded while awaiting headers"
)

func (ProvisionResponse) WaitHandler(ctx context.Context, c *instances.ClientWithResponses, r ProvisionResponse, projectID, instanceID string) *wait.Handler {
func (ProvisionResponse) WaitHandler(ctx context.Context, c *instances.ClientWithResponses, projectID, instanceID string) *wait.Handler {
return wait.New(func() (res interface{}, done bool, err error) {
s, err := c.Get(ctx, projectID, instanceID)
if err = validate.Response(s, err, "JSON200"); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/data-services/v1.0/instances/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (
client_timeout_err = "Client.Timeout exceeded while awaiting headers"
)

func (ProvisionResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, r ProvisionResponse, projectID, instanceID string) *wait.Handler {
func (ProvisionResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, projectID, instanceID string) *wait.Handler {
return wait.New(func() (res interface{}, done bool, err error) {
s, err := c.Get(ctx, projectID, instanceID)
if err = validate.Response(s, err, "JSON200"); err != nil {
Expand Down

0 comments on commit df86429

Please sign in to comment.