aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_log.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-09-29 20:47:16 -0700
committerchrislu <chris.lu@gmail.com>2024-09-29 20:47:16 -0700
commit190b2fc27637017cdd075331fd04b8cb0e5879b7 (patch)
tree93db54c4ad83af2b09eb7862380b8c634154e203 /weed/shell/command_fs_log.go
parent8111ec13bd06e4a9142a87640986de8c41d4b75a (diff)
parent20929f2a5753a04385be2378e698c8df762b3256 (diff)
downloadseaweedfs-190b2fc27637017cdd075331fd04b8cb0e5879b7.tar.xz
seaweedfs-190b2fc27637017cdd075331fd04b8cb0e5879b7.zip
Merge branch 'master' into mq2origin/mq2
Diffstat (limited to 'weed/shell/command_fs_log.go')
-rw-r--r--weed/shell/command_fs_log.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/shell/command_fs_log.go b/weed/shell/command_fs_log.go
index 5567f76e6..137a218f0 100644
--- a/weed/shell/command_fs_log.go
+++ b/weed/shell/command_fs_log.go
@@ -27,6 +27,10 @@ func (c *commandFsLogPurge) Help() string {
`
}
+func (c *commandFsLogPurge) HasTag(CommandTag) bool {
+ return false
+}
+
func (c *commandFsLogPurge) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
fsLogPurgeCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
daysAgo := fsLogPurgeCommand.Uint("daysAgo", 365, "purge logs older than N days")