Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heldkat patch 1 #1128

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cli/gardener_ci/compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ class DiffArguments:
right_name: str
left_version: str
right_version: str
outfile_prefix: str
ocm_repo_urls: list[str]
exclude_component_names: list[str] = None
exclude_component_resource_names: list[ComponentResourceNames] = None
resource_types: list[str] = None
name_template: str = None
name_template_expr: str = None
outfile_prefix: str = 'resource-diff'


def diff(
Expand Down Expand Up @@ -91,6 +91,8 @@ def diff(
params['name_template_expr'] = name_template
if resource_types:
params['resource_types'] = resource_types
if outfile_prefix:
params['outfile_prefix'] = outfile_prefix

try:
parsed = dacite.from_dict(
Expand Down
Loading