Skip to content

Commit

Permalink
Minor adjustment (#223)
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 Aug 9, 2024
1 parent bd79c76 commit fe53679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/postgres-flex/v1.0/instance/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (DeleteResponse) WaitHandler(ctx context.Context, c *ClientWithResponses, p
}

// new soft-deletion
if res.JSON200 != nil && res.JSON200.Item.Status != nil && strings.ToUpper(*res.JSON200.Item.Status) != "DELETED" {
if res.JSON200 != nil && res.JSON200.Item.Status != nil && strings.ToUpper(*res.JSON200.Item.Status) == "DELETED" {
return nil, true, nil
}

Expand Down

0 comments on commit fe53679

Please sign in to comment.