diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-11 23:13:04 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-11 23:13:04 -0800 |
| commit | bf4b13612d48a204646b12e1add74f7f3ec6a34a (patch) | |
| tree | c76e2ef9f6285ecffb4c23f7a5606fca4fc5b67e /weed/shell/command_volume_tier.go | |
| parent | 1f400489c60819b5f57714e23f5752c1bb4f1a82 (diff) | |
| download | seaweedfs-bf4b13612d48a204646b12e1add74f7f3ec6a34a.tar.xz seaweedfs-bf4b13612d48a204646b12e1add74f7f3ec6a34a.zip | |
adjust command name
Diffstat (limited to 'weed/shell/command_volume_tier.go')
| -rw-r--r-- | weed/shell/command_volume_tier.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/shell/command_volume_tier.go b/weed/shell/command_volume_tier.go index 399f9df51..de923d5a8 100644 --- a/weed/shell/command_volume_tier.go +++ b/weed/shell/command_volume_tier.go @@ -21,18 +21,18 @@ type commandVolumeTier struct { } func (c *commandVolumeTier) Name() string { - return "volume.tier" + return "volume.tier.upload" } func (c *commandVolumeTier) Help() string { return `move the dat file of a volume to a remote tier - volume.tier [-collection=""] [-fullPercent=95] [-quietFor=1h] - volume.tier [-collection=""] -volumeId=<volume_id> -dest=<storage_backend> [-keepLocalDatFile] + volume.tier.upload [-collection=""] [-fullPercent=95] [-quietFor=1h] + volume.tier.upload [-collection=""] -volumeId=<volume_id> -dest=<storage_backend> [-keepLocalDatFile] e.g.: - volume.tier -volumeId=7 -dest=s3 - volume.tier -volumeId=7 -dest=s3.default + volume.tier.upload -volumeId=7 -dest=s3 + volume.tier.upload -volumeId=7 -dest=s3.default The <storage_backend> is defined in master.toml. For example, "s3.default" in [storage.backend.s3.default] |
