Răsfoiți Sursa

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 7 ani în urmă
părinte
comite
7a9d077533
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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,