We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64df2f7 commit e8530bcCopy full SHA for e8530bc
1 file changed
internal/ui/run.go
@@ -34,7 +34,9 @@ func Run(parentCtx context.Context, rt runtime.Runtime, version string, platform
34
endpoint := "localhost.localstack.cloud"
35
if cfg, err := config.Get(); err == nil && len(cfg.Containers) > 0 {
36
emulatorName = cfg.Containers[0].DisplayName()
37
- endpoint = fmt.Sprintf("localhost.localstack.cloud:%s", cfg.Containers[0].Port)
+ if cfg.Containers[0].Port != "" {
38
+ endpoint = fmt.Sprintf("localhost.localstack.cloud:%s", cfg.Containers[0].Port)
39
+ }
40
}
41
42
app := NewApp(version, emulatorName, endpoint, cancel)
0 commit comments