Skip to content

Commit 54b5b7f

Browse files
committed
start.ShowMessage: remove the logrus INFO header, for ease of copypasting
Signed-off-by: Akihiro Suda <[email protected]>
1 parent f486376 commit 54b5b7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/start/start.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,10 @@ func ShowMessage(inst *store.Instance) error {
261261
return err
262262
}
263263
scanner := bufio.NewScanner(&b)
264+
logrus.Infof("Message from the instance %q:", inst.Name)
264265
for scanner.Scan() {
265-
logrus.Info(scanner.Text())
266+
// Avoid prepending logrus "INFO" header, for ease of copypasting
267+
fmt.Println(scanner.Text())
266268
}
267269
if err := scanner.Err(); err != nil {
268270
return err

0 commit comments

Comments
 (0)