Skip to content

Commit 66f52f0

Browse files
authored
changes to visit manager wording (#2294)
1 parent d448674 commit 66f52f0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cmd/installer/cli/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ func getManagerURL(hostname string, port int) string {
219219
if addr := os.Getenv("EC_PUBLIC_ADDRESS"); addr != "" {
220220
ipaddr = addr
221221
} else {
222-
logrus.Errorf("Unable to determine node IP address")
223-
ipaddr = "NODE-IP-ADDRESS"
222+
logrus.Warnf("\nUnable to automatically determine the node's IP address. Replace <node-ip> in the URL below with your node's IP address.")
223+
ipaddr = "<node-ip>"
224224
}
225225
}
226226
return fmt.Sprintf("https://%s:%v", ipaddr, port)

cmd/installer/cli/install.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,8 @@ func runManagerExperienceInstall(ctx context.Context, flags InstallCmdFlags, rc
390390
return fmt.Errorf("unable to start api: %w", err)
391391
}
392392

393-
logrus.Info("")
394-
logrus.Infof("Visit %s to configure your cluster", getManagerURL(flags.hostname, flags.managerPort))
395-
logrus.Info("")
393+
// TODO: add app name to this message (e.g., App Name manager)
394+
logrus.Infof("\nVisit the manager to continue: %s\n", getManagerURL(flags.hostname, flags.managerPort))
396395
<-ctx.Done()
397396

398397
return nil

0 commit comments

Comments
 (0)