1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-06 17:17:25 +02:00

watch: adjust output format

This commit is contained in:
Chris Lu 2020-09-09 22:34:48 -07:00
parent daf0a449f7
commit 47b3f932e4

View file

@ -101,7 +101,7 @@ func runWatch(cmd *Command, args []string) bool {
if !shouldPrint(resp) { if !shouldPrint(resp) {
continue continue
} }
fmt.Printf("%+v\n", resp.EventNotification) fmt.Printf("dir:%s %+v\n", resp.Directory, resp.EventNotification)
} }
}) })