Skip to content

Commit 86c7b39

Browse files
committed
fix resource type check
1 parent 1a2e33c commit 86c7b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/azure/deploy/deploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func createStorageAccount(ctx *pulumi.Context, group *resources.ResourceGroup, t
188188

189189
func hasResourceType(resources []*deploymentspb.Resource, resourceType resourcespb.ResourceType) bool {
190190
for _, r := range resources {
191-
if r.GetId().GetType() != resourceType {
191+
if r.GetId().GetType() == resourceType {
192192
return true
193193
}
194194
}

0 commit comments

Comments
 (0)