mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 19:19:11 +08:00
remove unused function
This commit is contained in:
parent
9a3d46f8e3
commit
fdc8a267de
@ -220,11 +220,3 @@ func getObject(vars map[string]string) string {
|
||||
}
|
||||
return object
|
||||
}
|
||||
|
||||
func getEtag(r *http.Request) (etag string) {
|
||||
etag = r.Header.Get("ETag")
|
||||
if strings.HasPrefix(etag, "\"") && strings.HasSuffix(etag, "\"") {
|
||||
etag = etag[1 : len(etag)-1]
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user