diff options
| author | yourchanges <yourchanges@gmail.com> | 2014-10-21 15:50:48 +0800 |
|---|---|---|
| committer | yourchanges <yourchanges@gmail.com> | 2014-10-21 15:50:48 +0800 |
| commit | f7bcd8e958ef185baeca0c455a397d49fcb62256 (patch) | |
| tree | bb2a2de4fcb7f9ac7e1d65a78e82cbe1f5f17e36 /go/storage/crc.go | |
| parent | 78ccbbf3d0766e1ececf91fa00766d1ed33050cc (diff) | |
| parent | a3c17f17b144c4298409fddda2d6bc4b39d38ca5 (diff) | |
| download | seaweedfs-f7bcd8e958ef185baeca0c455a397d49fcb62256.tar.xz seaweedfs-f7bcd8e958ef185baeca0c455a397d49fcb62256.zip | |
Merge pull request #1 from chrislusf/master
update
Diffstat (limited to 'go/storage/crc.go')
| -rw-r--r-- | go/storage/crc.go | 4 |
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) } |
