mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
wrap etag value with double quotes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user