Skip to content

Commit 37c9a97

Browse files
committed
fix(certs): quote hostname in suggested certs command
Closes #4711
1 parent cac93aa commit 37c9a97

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)