Commit c9851b4c authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

fix info of uploaded file

parent e78904db
......@@ -220,7 +220,7 @@ class PithosTargetHandle(object):
synced_etag = r["etag"]
live_info = {"pithos_etag": synced_etag,
"pithos_type": common.T_DIR}
"pithos_type": common.T_FILE}
return self.target_state.set(info=live_info)
except ClientError as e:
if e.status == 412: # Precondition failed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment