Skip to content

Commit

Permalink
fixup! feat: Keep is_disabled label in sync with reporting-api (#2321)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleixhub committed Dec 24, 2024
1 parent 7d6f248 commit 0f667b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion catalog-manager/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ async def manage_catalog_item_is_disabled(catalog_item, logger):
if is_disabled != catalog_item.is_disabled:
patch = {
"metadata": {
"labels": {Babylon.catalog_item_is_disabled_label: str(is_disabled)},
"labels": {Babylon.catalog_item_is_disabled_label: str(is_disabled)}
}
}
await catalog_item.merge_patch(patch)
logger.info(
Expand Down

0 comments on commit 0f667b1

Please sign in to comment.