Skip to content

Assorted clean ups, optimizations, and a small bug fix#2552

Merged
rhatdan merged 6 commits intocontainers:mainfrom
mtrmac:assorted
Sep 5, 2024
Merged

Assorted clean ups, optimizations, and a small bug fix#2552
rhatdan merged 6 commits intocontainers:mainfrom
mtrmac:assorted

Conversation

@mtrmac
Copy link
Copy Markdown
Collaborator

@mtrmac mtrmac commented Sep 3, 2024

See individual commit messages for details.

I’m happy to split this into separate PRs for separate review; let me know.

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Sep 3, 2024

LGTM

Copy link
Copy Markdown
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Append the result directly into the returned array,
instead of assembling it from partial pieces.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Make it 1-based, like in the other error message.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
It can't fail.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
We do modify cs in place.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@rhatdan rhatdan merged commit f4ee630 into containers:main Sep 5, 2024
@mtrmac mtrmac deleted the assorted branch September 5, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants