Skip to content

Commit de2848c

Browse files
committed
Show service name when logging none or more than 1 service
1 parent c376cc4 commit de2848c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/cli/tail.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func tail(ctx context.Context, provider client.Provider, projectName string, opt
384384
l, _ := buf.Printc(termenv.ANSIYellow, etag, " ")
385385
prefixLen += l
386386
}
387-
if len(options.Services) == 0 {
387+
if len(options.Services) != 1 {
388388
l, _ := buf.Printc(termenv.ANSIGreen, service, " ")
389389
prefixLen += l
390390
}

0 commit comments

Comments
 (0)