mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 12:17:59 +08:00
remove unused function
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user