diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index f459e17cf..93816c7ee 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/weed/s3api/s3api_object_handlers.go @@ -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 -}