mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
gs: process etag when it is available (#5634)
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ class GSFileSystem(FSSpecWrapper):
|
||||
return login_info
|
||||
|
||||
def _entry_hook(self, entry):
|
||||
entry["etag"] = base64.b64decode(entry["etag"]).hex()
|
||||
if "etag" in entry:
|
||||
entry["etag"] = base64.b64decode(entry["etag"]).hex()
|
||||
return entry
|
||||
|
||||
@wrap_prop(threading.Lock())
|
||||
|
||||
Reference in New Issue
Block a user