aboutsummaryrefslogtreecommitdiff
path: root/go/storage/crc.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/storage/crc.go')
-rw-r--r--go/storage/crc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/storage/crc.go b/go/storage/crc.go
index 41f7f6d00..7aa400959 100644
--- a/go/storage/crc.go
+++ b/go/storage/crc.go
@@ -1,7 +1,7 @@
package storage
import (
- "code.google.com/p/weed-fs/go/util"
+ "github.com/chrislusf/weed-fs/go/util"
"fmt"
"hash/crc32"
)
@@ -25,5 +25,5 @@ func (c CRC) Value() uint32 {
func (n *Needle) Etag() string {
bits := make([]byte, 4)
util.Uint32toBytes(bits, uint32(n.Checksum))
- return fmt.Sprintf("%x", bits)
+ return fmt.Sprintf("\"%x\"", bits)
}