Skip to content

Commit

Permalink
refactor(domains): clean up create output
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Jan 21, 2025
1 parent 9b93ce6 commit ad081bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/commands/domainv1/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit ad081bc

Please sign in to comment.