Skip to content

Commit ad081bc

Browse files
committed
refactor(domains): clean up create output
1 parent 9b93ce6 commit ad081bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/commands/domainv1/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ func (c *CreateCommand) Exec(_ io.Reader, out io.Writer) error {
6767

6868
serviceOutput := ""
6969
if d.ServiceID != nil {
70-
serviceOutput = fmt.Sprintf(" (service-id: %s)", *d.ServiceID)
70+
serviceOutput = fmt.Sprintf(", service-id: %s", *d.ServiceID)
7171
}
7272

73-
text.Success(out, "Created domain '%s' (domain-id: %s)%s", d.FQDN, d.DomainID, serviceOutput)
73+
text.Success(out, "Created domain '%s' (domain-id: %s%s)", d.FQDN, d.DomainID, serviceOutput)
7474
return nil
7575
}

0 commit comments

Comments
 (0)