diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-08-26 10:15:12 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-08-26 10:15:12 -0700 |
| commit | 57a4549d8678bb08f4ecbdede1939830471e3091 (patch) | |
| tree | 21224e56c5eed044be22a18a600e26471b360ede /go/storage | |
| parent | ce4acecaa8fa9461cbfae1fadea5b320161d2acd (diff) | |
| download | seaweedfs-57a4549d8678bb08f4ecbdede1939830471e3091.tar.xz seaweedfs-57a4549d8678bb08f4ecbdede1939830471e3091.zip | |
wrap etag value with double quotes
Diffstat (limited to 'go/storage')
| -rw-r--r-- | go/storage/crc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/storage/crc.go b/go/storage/crc.go index 41f7f6d00..43e65757a 100644 --- a/go/storage/crc.go +++ b/go/storage/crc.go @@ -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) } |
