wrap etag value with double quotes

This commit is contained in:
Chris Lu
2014-08-26 10:15:12 -07:00
parent ce4acecaa8
commit 57a4549d86
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
}