Преглед изворни кода

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 година
родитељ
комит
7a9d077533
1 измењених фајлова са 1 додато и 2 уклоњено
  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,