diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-10-15 01:19:15 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-10-15 01:19:15 -0700 |
| commit | fda771c83fd2702dc791244065b5886e5a3b9df2 (patch) | |
| tree | e566188618dc37cbc451fa57fb5046e7f5676798 /weed/command | |
| parent | b423bb9e2def089f57406ce8476c08f3de8436e9 (diff) | |
| download | seaweedfs-fda771c83fd2702dc791244065b5886e5a3b9df2.tar.xz seaweedfs-fda771c83fd2702dc791244065b5886e5a3b9df2.zip | |
migrate volume sync status to grpc API on volume server
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/backup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/backup.go b/weed/command/backup.go index 7983f7dab..7cdec34ad 100644 --- a/weed/command/backup.go +++ b/weed/command/backup.go @@ -59,7 +59,7 @@ func runBackup(cmd *Command, args []string) bool { } volumeServer := lookup.Locations[0].Url - stats, err := operation.GetVolumeSyncStatus(volumeServer, vid.String()) + stats, err := operation.GetVolumeSyncStatus(volumeServer, uint32(vid)) if err != nil { fmt.Printf("Error get volume %d status: %v\n", vid, err) return true |
