Skip to content

Commit b16b732

Browse files
Bypass enable-check when loading installables for CEFS GC display (#2057)
Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c678b2e commit b16b732

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/lib/cli/cefs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,9 @@ def gc(context: CliContext, force: bool, min_age: str, include_broken: bool, cle
821821
raise click.ClickException(f"GC completed with {error_count} errors during analysis")
822822
return
823823

824-
installables_by_name = {installable.name: installable for installable in context.get_installables([])}
824+
installables_by_name = {
825+
installable.name: installable for installable in context.get_installables([], bypass_enable_check=True)
826+
}
825827
destination_root = context.installation_context.destination
826828

827829
_LOGGER.info("Unreferenced CEFS images to delete:")

0 commit comments

Comments
 (0)