Browse Source

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

3.2.0-release
Wenjun Ruan 2 years ago committed by GitHub
parent
commit
64833952fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-save-modal.tsx
  2. 4
      dolphinscheduler-worker/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskDispatchProcessorTest.java

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
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);

Loading…
Cancel
Save