Skip to content

Fixed dubious argument order in RecordPkgOperationInChroot - #6333

Merged
larsewi merged 1 commit into
cfengine:masterfrom
larsewi:version-arch
Aug 25, 2026
Merged

Fixed dubious argument order in RecordPkgOperationInChroot#6333
larsewi merged 1 commit into
cfengine:masterfrom
larsewi:version-arch

Conversation

@larsewi

@larsewi larsewi commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Each call to RecordPkgOperationInChroot passed version followed by architecture in the arguments. However, the function signature had this the other way around. To avoid any change in behavior, I changed the parameter names to match the arguments of the call sites.

Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech

Each call to RecordPkgOperationInChroot passed version followed by
architecture in the arguments. However, the function signature had this
the other way around. To avoid any change in behavior, I changed the
parameter names to match the arguments of the call sites.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi
larsewi merged commit f17c083 into cfengine:master Aug 25, 2026
12 checks passed
@larsewi
larsewi deleted the version-arch branch August 25, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants