aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-25 23:18:40 -0700
committerChris Lu <chris.lu@uber.com>2019-03-25 23:18:40 -0700
commit7a14cdc90cc673286e501b900ec28b7f186f2cfe (patch)
tree60218d8344aa343a115fd94c00961407b3fdc735 /weed/command
parent19728fe3f6dd66047fe2efd769932a7706833170 (diff)
downloadseaweedfs-7a14cdc90cc673286e501b900ec28b7f186f2cfe.tar.xz
seaweedfs-7a14cdc90cc673286e501b900ec28b7f186f2cfe.zip
refactoring, go fmt
Diffstat (limited to 'weed/command')
-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 9c0bcbc52..48e2eba89 100644
--- a/weed/command/backup.go
+++ b/weed/command/backup.go
@@ -98,7 +98,7 @@ func runBackup(cmd *Command, args []string) bool {
return true
}
v.SuperBlock.CompactRevision = uint16(stats.CompactRevision)
- v.DataFile().WriteAt(v.SuperBlock.Bytes(),0)
+ v.DataFile().WriteAt(v.SuperBlock.Bytes(), 0)
}
if uint64(v.Size()) > stats.TailOffset {