Skip to content

Commit 2d14c3b

Browse files
committed
Rename port var to reflect current state of endpoint
1 parent 5d77755 commit 2d14c3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/buildless-serverless/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func main() {
170170
os.Exit(1)
171171
}
172172

173-
startInternalHTTPServer(cfg.CLIRenderManifestPort)
173+
startInternalHTTPServer(cfg.DummyPort)
174174

175175
setupLog.Info("starting manager")
176176
if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {

components/buildless-serverless/internal/config/function_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type FunctionConfig struct {
2424
FunctionTraceCollectorEndpoint string `yaml:"functionTraceCollectorEndpoint"`
2525
FunctionPublisherProxyAddress string `yaml:"functionPublisherProxyAddress"`
2626
ResourceConfig ResourceConfig `yaml:"resourcesConfiguration"`
27-
CLIRenderManifestPort string `yaml:"cliRenderManifestPort"`
27+
DummyPort string `yaml:"cliRenderManifestPort"`
2828
}
2929

3030
func defaultFunctionConfig() FunctionConfig {
@@ -38,7 +38,7 @@ func defaultFunctionConfig() FunctionConfig {
3838
FunctionReadyRequeueDuration: time.Minute * 5,
3939
PackageRegistryConfigSecretName: "buildless-serverless-package-registry-config",
4040
FunctionPublisherProxyAddress: "http://eventing-publisher-proxy.kyma-system.svc.cluster.local/publish",
41-
CLIRenderManifestPort: ":12137",
41+
DummyPort: ":12137",
4242
}
4343
}
4444

0 commit comments

Comments
 (0)