Skip to content

patchman -a sets the wrong errata argument #855

Description

@sr-rossanderson

The -a convenience option is intended to execute the full Patchman maintenance workflow, including errata processing.

However, the CLI currently appears to set:

args.errata = True

while the later processing code checks:

args.update_errata

Expected behaviour:

-a should set all of the same internal arguments as the documented group of individual maintenance options.

Suggested fix:

Change args.errata = True to args.update_errata = True, or otherwise ensure that -a uses the same argument consumed by downstream processing.

Impact:

Scheduled jobs using patchman -a may appear to complete successfully while not performing all documented maintenance operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions