Skip to content

Commit b29a819

Browse files
authored
fix(cli): fix svc show log output when no svc found (#1038)
<!-- Provide summary of changes --> Quick fix to get rid of the unexpected period at the end of the log output when there's no service found in the app. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 8bfa7a4 commit b29a819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/cli/svc_show.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (o *showSvcOpts) askSvcName() error {
172172
}
173173

174174
if len(svcNames) == 0 {
175-
log.Infof("No services found in application %s\n.", color.HighlightUserInput(o.AppName()))
175+
log.Infof("No services found in application %s.\n", color.HighlightUserInput(o.AppName()))
176176
return nil
177177
}
178178
if len(svcNames) == 1 {

0 commit comments

Comments
 (0)