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

This commit is contained in:
Wenjun Ruan 2023-04-04 17:14:40 +08:00 committed by GitHub
parent 69fc217ab2
commit 64833952fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

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

View File

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