We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0544d31 commit 945eb58Copy full SHA for 945eb58
invoker/function-maven-plugin/src/main/java/com/google/cloud/functions/plugin/RunFunction.java
@@ -72,6 +72,9 @@ public void execute() throws MojoExecutionException {
72
if (functionTarget != null) {
73
args.addAll(Arrays.asList("--target", functionTarget));
74
}
75
+ if (port != null) {
76
+ args.addAll(Arrays.asList("--port", String.valueOf(port)));
77
+ }
78
try {
79
getLog().info("Calling Invoker with " + args);
80
Invoker.main(args.toArray(new String[0]));
0 commit comments