Don't send spurious empty stream invoke response
@@ -384,8 +384,11 @@ func (rm *queryResmon) StreamInvoke(
})
}
+ if len(chkfails) > 0 {
return stream.Send(&pulumirpc.InvokeResponse{Failures: chkfails})
}
+ return nil
+}
// ReadResource reads the current state associated with a resource from its provider plugin.
func (rm *queryResmon) ReadResource(ctx context.Context,
