Skip to content

Commit

Permalink
Remove "bucket" from tags before writing to index
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 14, 2024
1 parent 35e9971 commit a53541d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/process_incoming.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ def append_artifact(
metadata["revision"],
)
version_details = metadata["version_details"]
tags = metadata.get("tags", {})
tags = dict(metadata.get("tags", {}))
tags.pop("bucket", None)
index_key = (metadata["name"], version_key, metadata["architecture"])
prev_pkg = packages.get(index_key)
if prev_pkg is not None:
Expand Down

0 comments on commit a53541d

Please sign in to comment.