Skip to content

Commit f18bdb6

Browse files
committed
remove unuse param
1 parent 12c7ea3 commit f18bdb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launcher/src/main/java/com/dtstack/flink/sql/launcher/ClusterClientFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static ClusterClient createClusterClient(Options launcherOptions) throws
6262
if (mode.equals(ClusterMode.standalone.name())) {
6363
return createStandaloneClient(launcherOptions);
6464
} else if (mode.equals(ClusterMode.yarn.name())) {
65-
return createYarnSessionClient(launcherOptions, mode);
65+
return createYarnSessionClient(launcherOptions);
6666
}
6767
throw new IllegalArgumentException("Unsupported cluster client type: ");
6868
}
@@ -82,7 +82,7 @@ public static ClusterClient createStandaloneClient(Options launcherOptions) thro
8282
return clusterClient;
8383
}
8484

85-
public static ClusterClient createYarnSessionClient(Options launcherOptions, String mode) {
85+
public static ClusterClient createYarnSessionClient(Options launcherOptions) {
8686

8787
String flinkConfDir = launcherOptions.getFlinkconf();
8888
Configuration config = GlobalConfiguration.loadConfiguration(flinkConfDir);

0 commit comments

Comments
 (0)