diff options
Diffstat (limited to 'weed/command/mount.go')
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index a4ee03ac5..6a7856546 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -8,6 +8,7 @@ type MountOptions struct { replication *string ttlSec *int chunkSizeLimitMB *int + dataCenter *string } var ( @@ -23,6 +24,7 @@ func init() { mountOptions.replication = cmdMount.Flag.String("replication", "000", "replication to create to files") mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds") mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 16, "local write buffer size, also chunk large files") + mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center") } var cmdMount = &Command{ |
