Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed May 7, 2024
1 parent 0f9c820 commit 391a3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/pkg/await/await.go
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ func Deletion(c DeleteConfig) error {
// ameliorates situations like pulumi-kubernetes#2948 where resources could be
// unintentionally deleted after renaming.
func deleteResource(ctx context.Context, name string, urn resource.URN, client dynamic.ResourceInterface) error {
errNotFound := &apierrors.StatusError{metav1.Status{Code: http.StatusNotFound}}
errNotFound := &apierrors.StatusError{ErrStatus: metav1.Status{Code: http.StatusNotFound}}

done, live := checkIfResourceDeleted(ctx, name, client)
if done {
Expand Down

0 comments on commit 391a3e1

Please sign in to comment.