aboutsummaryrefslogtreecommitdiff
path: root/go/weed/fix.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-08-08 23:57:22 -0700
committerChris Lu <chris.lu@gmail.com>2013-08-08 23:57:22 -0700
commited154053c833f9bcce9094e535e2adc0a0397e46 (patch)
tree40dc16b76a12929bc8ac7af0549ccf65316e9011 /go/weed/fix.go
parentb27947b3550dfdf091010bd2607b8c36a5dca049 (diff)
downloadseaweedfs-ed154053c833f9bcce9094e535e2adc0a0397e46.tar.xz
seaweedfs-ed154053c833f9bcce9094e535e2adc0a0397e46.zip
switching to temporarily use glog library
Diffstat (limited to 'go/weed/fix.go')
-rw-r--r--go/weed/fix.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/weed/fix.go b/go/weed/fix.go
index 597bc0ef9..81b87eb18 100644
--- a/go/weed/fix.go
+++ b/go/weed/fix.go
@@ -2,7 +2,7 @@ package main
import (
"code.google.com/p/weed-fs/go/storage"
- "log"
+ "code.google.com/p/weed-fs/go/glog"
"os"
"path"
"strconv"
@@ -35,7 +35,7 @@ func runFix(cmd *Command, args []string) bool {
fileName := strconv.Itoa(*fixVolumeId)
indexFile, err := os.OpenFile(path.Join(*fixVolumePath, fileName+".idx"), os.O_WRONLY|os.O_CREATE, 0644)
if err != nil {
- log.Fatalf("Create Volume Index [ERROR] %s\n", err)
+ glog.Fatalf("Create Volume Index [ERROR] %s\n", err)
}
defer indexFile.Close()
@@ -57,7 +57,7 @@ func runFix(cmd *Command, args []string) bool {
return nil
})
if err != nil {
- log.Fatalf("Export Volume File [ERROR] %s\n", err)
+ glog.Fatalf("Export Volume File [ERROR] %s\n", err)
}
return true