diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-09 22:34:48 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-09 22:34:48 -0700 |
| commit | 47b3f932e4175c6e7479252d5d6073789495a509 (patch) | |
| tree | de30003667abfea84ee44b7928a9cd8b57924a02 | |
| parent | daf0a449f7424d4a8252673509af5afd0b9bd8ec (diff) | |
| download | seaweedfs-47b3f932e4175c6e7479252d5d6073789495a509.tar.xz seaweedfs-47b3f932e4175c6e7479252d5d6073789495a509.zip | |
watch: adjust output format
| -rw-r--r-- | weed/command/watch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/watch.go b/weed/command/watch.go index 3bee0eabe..fd7dd6fb2 100644 --- a/weed/command/watch.go +++ b/weed/command/watch.go @@ -101,7 +101,7 @@ func runWatch(cmd *Command, args []string) bool { if !shouldPrint(resp) { continue } - fmt.Printf("%+v\n", resp.EventNotification) + fmt.Printf("dir:%s %+v\n", resp.Directory, resp.EventNotification) } }) |
