Przeglądaj źródła

Remove the extra default tenant in workflow save page (#13867)

Wenjun Ruan 2 lat temu
rodzic
commit
64833952fc

+ 0 - 1
dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-save-modal.tsx

@@ -81,7 +81,6 @@ export default defineComponent({
             label: t.tenantCode,
             value: t.tenantCode
           }))
-          .concat({ label: 'default', value: 'default' })
       }
       return []
     })

+ 4 - 0
dolphinscheduler-worker/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskDispatchProcessorTest.java

@@ -24,6 +24,7 @@ import org.apache.dolphinscheduler.remote.command.Message;
 import org.apache.dolphinscheduler.remote.command.MessageType;
 import org.apache.dolphinscheduler.remote.command.task.TaskDispatchMessage;
 import org.apache.dolphinscheduler.server.worker.config.WorkerConfig;
+import org.apache.dolphinscheduler.server.worker.registry.WorkerRegistryClient;
 import org.apache.dolphinscheduler.server.worker.rpc.WorkerMessageSender;
 import org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcClient;
 import org.apache.dolphinscheduler.server.worker.runner.WorkerManagerThread;
@@ -64,6 +65,9 @@ public class TaskDispatchProcessorTest {
     @Mock
     private StorageOperate storageOperate;
 
+    @Mock
+    private WorkerRegistryClient workerRegistryClient;
+
     @Test
     public void process() {
         Channel channel = Mockito.mock(Channel.class);