From ad081bce37f0be5ce8de871dfc33704c5c0c15b1 Mon Sep 17 00:00:00 2001 From: Integralist Date: Tue, 21 Jan 2025 16:22:46 +0000 Subject: [PATCH] refactor(domains): clean up create output --- pkg/commands/domainv1/create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/commands/domainv1/create.go b/pkg/commands/domainv1/create.go index d7aa7db8a..ef7131aa6 100644 --- a/pkg/commands/domainv1/create.go +++ b/pkg/commands/domainv1/create.go @@ -67,9 +67,9 @@ func (c *CreateCommand) Exec(_ io.Reader, out io.Writer) error { serviceOutput := "" if d.ServiceID != nil { - serviceOutput = fmt.Sprintf(" (service-id: %s)", *d.ServiceID) + serviceOutput = fmt.Sprintf(", service-id: %s", *d.ServiceID) } - text.Success(out, "Created domain '%s' (domain-id: %s)%s", d.FQDN, d.DomainID, serviceOutput) + text.Success(out, "Created domain '%s' (domain-id: %s%s)", d.FQDN, d.DomainID, serviceOutput) return nil }