Merge pull request #85 from RedHatSatellite/rel500 #305
Annotations
2 warnings
Run lint:
roles/content_view_version_cleanup/tasks/find_and_delete_unused_cv_versions.yml#L17
Jinja2 spacing could be improved: {{ (__satellite_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(satellite_content_view_version_cleanup_keep | int):] }} -> {{ (__satellite_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(satellite_content_view_version_cleanup_keep | int) :] }}
|
Run lint:
roles/content_view_version_cleanup/tasks/main.yml#L22
Jinja2 spacing could be improved: {{ (__satellite_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(satellite_content_view_version_cleanup_keep | int):] }} -> {{ (__satellite_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(satellite_content_view_version_cleanup_keep | int) :] }}
|
Loading