Sfoglia il codice sorgente

Remove redundant task dependency

The replica source inputs validation task does not
need anything from the get instance info task.

Thus, the tasks dependency is redundant.
Ionut Balutoiu 6 anni fa
parent
commit
7a9d077533
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      coriolis/conductor/rpc/server.py

+ 1 - 2
coriolis/conductor/rpc/server.py

@@ -323,8 +323,7 @@ class ConductorServerEndpoint(object):
             validate_replica_source_inputs_task = self._create_task(
                 instance,
                 constants.TASK_TYPE_VALIDATE_REPLICA_SOURCE_INPUTS,
-                execution,
-                depends_on=[get_instance_info_task.id])
+                execution)
 
             validate_replica_destination_inputs_task = self._create_task(
                 instance,