aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer_copy.go26
-rw-r--r--weed/command/filer_sync.go2
-rw-r--r--weed/command/update.go2
-rw-r--r--weed/command/update_full.go2
4 files changed, 16 insertions, 16 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 1294e0903..667b089ed 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -31,21 +31,21 @@ var (
)
type CopyOptions struct {
- include *string
- replication *string
- collection *string
- ttl *string
- diskType *string
- maxMB *int
- masterClient *wdclient.MasterClient
+ include *string
+ replication *string
+ collection *string
+ ttl *string
+ diskType *string
+ maxMB *int
+ masterClient *wdclient.MasterClient
concurrentFiles *int
concurrentChunks *int
- grpcDialOption grpc.DialOption
- masters []string
- cipher bool
- ttlSec int32
- checkSize *bool
- verbose *bool
+ grpcDialOption grpc.DialOption
+ masters []string
+ cipher bool
+ ttlSec int32
+ checkSize *bool
+ verbose *bool
}
func init() {
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index d361577e8..4cb97ba07 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -50,7 +50,7 @@ type SyncOptions struct {
}
const (
- SyncKeyPrefix = "sync."
+ SyncKeyPrefix = "sync."
DefaultConcurrencyLimit = 32
)
diff --git a/weed/command/update.go b/weed/command/update.go
index 447a39953..70a075f80 100644
--- a/weed/command/update.go
+++ b/weed/command/update.go
@@ -52,7 +52,7 @@ type githubError struct {
Message string
}
-//default version is not full version
+// default version is not full version
var isFullVersion = false
var (
diff --git a/weed/command/update_full.go b/weed/command/update_full.go
index 185203aee..f2dfb2b85 100644
--- a/weed/command/update_full.go
+++ b/weed/command/update_full.go
@@ -3,7 +3,7 @@
package command
-//set true if gtags are set
+// set true if gtags are set
func init() {
isFullVersion = true
}