Skip to content

Commit

Permalink
[Bug]Fix flink 1.19 cli bug (#3717)
Browse files Browse the repository at this point in the history
Co-authored-by: gaoyan1998 <[email protected]>
  • Loading branch information
gaoyan1998 and gaoyan1998 authored Aug 15, 2024
1 parent b8c2da8 commit 708ebce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ public static EmbeddedGateway create(DefaultContext defaultContext) {
Configuration restConfig = new Configuration();
// always use localhost
restConfig.set(SqlGatewayRestOptions.ADDRESS, ADDRESS);
restConfig.set(SqlGatewayRestOptions.BIND_ADDRESS, ADDRESS);
restConfig.set(SqlGatewayRestOptions.PORT, port.getPort());
restConfig.set(SqlGatewayRestOptions.BIND_PORT, port.getPort() + "");
defaultConfig.addAll(
restConfig,
SqlGatewayEndpointFactoryUtils.getSqlGatewayOptionPrefix(SqlGatewayRestEndpointFactory.IDENTIFIER));
Expand Down

0 comments on commit 708ebce

Please sign in to comment.