aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer_copy.go30
-rw-r--r--weed/command/filer_remote_sync_dir.go2
2 files changed, 16 insertions, 16 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index e1a8999f3..1855e643c 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
- concurrentFiles *int
- concurrentChunks *int
- grpcDialOption grpc.DialOption
- masters []string
- cipher bool
- ttlSec int32
- checkSize *bool
- verbose *bool
+ 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
volumeServerAccess *string
}
diff --git a/weed/command/filer_remote_sync_dir.go b/weed/command/filer_remote_sync_dir.go
index 892af17a0..d4305b666 100644
--- a/weed/command/filer_remote_sync_dir.go
+++ b/weed/command/filer_remote_sync_dir.go
@@ -80,7 +80,7 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour
return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, metadataFollowOption, processEventFnWithOffset)
}
-func (option *RemoteSyncOptions) makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string, remoteStorageMountLocation *remote_pb.RemoteStorageLocation, filerSource *source.FilerSource) (pb.ProcessMetadataFunc, error) {
+func (option *RemoteSyncOptions) makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string, remoteStorageMountLocation *remote_pb.RemoteStorageLocation, filerSource *source.FilerSource) (pb.ProcessMetadataFunc, error) {
client, err := remote_storage.GetRemoteStorage(remoteStorage)
if err != nil {
return nil, err