Skip to content
Snippets Groups Projects
Commit e04f43ef authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3247232 by Xiaohua Guan, yas: Hotfix - Add CloudClusterWorkerService

parent 281bd09c
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ function cloud_cluster_worker_entity_presave(EntityInterface $entity) { ...@@ -67,7 +67,7 @@ function cloud_cluster_worker_entity_presave(EntityInterface $entity) {
return; return;
} }
\Drupal::service('cloud_cluster_worker')->send( \Drupal::service('cloud_cluster_worker')->sendSyncRequest(
$entity->getCloudContext(), $entity->getCloudContext(),
$entity_type_id, $entity_type_id,
[\Drupal::service('serializer')->serialize($entity, 'json')], [\Drupal::service('serializer')->serialize($entity, 'json')],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment