Skip to content

Commit

Permalink
[Bug] [Seatunnel-web] Seatunnel-web always requires the cluster name …
Browse files Browse the repository at this point in the history
…to be seatunnel (#174)
  • Loading branch information
arshadmohammad authored Aug 8, 2024
1 parent 43f045c commit 6d99a72
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,10 @@ public void waitJobFinish(

private SeaTunnelClient createSeaTunnelClient() {
ClientConfig clientConfig = ConfigProvider.locateAndGetClientConfig();
clientConfig.setClusterName(getClusterName("seatunnel"));
clientConfig.setClusterName(clientConfig.getClusterName());
return new SeaTunnelClient(clientConfig);
}

public static String getClusterName(String testClassName) {
return testClassName;
}

@Override
public Result<Void> jobPause(Integer userId, Long jobInstanceId) {
JobInstance jobInstance = jobInstanceDao.getJobInstance(jobInstanceId);
Expand Down

0 comments on commit 6d99a72

Please sign in to comment.