aboutsummaryrefslogtreecommitdiff
path: root/weed/command/backup.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-10-15 01:19:15 -0700
committerChris Lu <chris.lu@gmail.com>2018-10-15 01:19:15 -0700
commitfda771c83fd2702dc791244065b5886e5a3b9df2 (patch)
treee566188618dc37cbc451fa57fb5046e7f5676798 /weed/command/backup.go
parentb423bb9e2def089f57406ce8476c08f3de8436e9 (diff)
downloadseaweedfs-fda771c83fd2702dc791244065b5886e5a3b9df2.tar.xz
seaweedfs-fda771c83fd2702dc791244065b5886e5a3b9df2.zip
migrate volume sync status to grpc API on volume server
Diffstat (limited to 'weed/command/backup.go')
-rw-r--r--weed/command/backup.go2
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