Skip to content

Commit 33237de

Browse files
authored
fix(certs): quote hostname in suggested certs command (#4716)
Closes #4711
1 parent 2c900a9 commit 33237de

File tree

1 file changed

+1
-1
lines changed
  • internal/command/certificates

1 file changed

+1
-1
lines changed

internal/command/certificates/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func runCertificatesAdd(ctx context.Context) error {
202202
io := iostreams.FromContext(ctx)
203203
colorize := io.ColorScheme()
204204
fmt.Fprintf(io.Out, "\nOnce your DNS is configured correctly, we will automatically provision your certificate.\n")
205-
fmt.Fprintf(io.Out, "Run %s to check the progress.\n", colorize.Bold("fly certs check "+hostname))
205+
fmt.Fprintf(io.Out, "To check progress, run: %s\n", colorize.Bold(fmt.Sprintf("fly certs check '%s'", hostname)))
206206

207207
return nil
208208
}

0 commit comments

Comments
 (0)