Skip to content
This repository was archived by the owner on Nov 19, 2026. It is now read-only.

config: use authPath struct consistently - #1765

Merged
rhatdan merged 2 commits into
containers:mainfrom
cgwalters:add-system-path-prep
Dec 20, 2022
Merged

rhatdan merged 2 commits into
containers:mainfrom
cgwalters:add-system-path-prep

Conversation

@cgwalters

@cgwalters cgwalters commented Dec 15, 2022 •

Copy link
Copy Markdown
Contributor

config: use authPath struct consistently

Instead of packing and unpacking it into two variables in
various places. Prep for adding a third member of this struct
as part of #1746

Signed-off-by: Colin Walters [email protected]


config: Make parsing function a method on authFile

Just a general cleanup.


Comment thread pkg/docker/config/config.go Resolved

@mtrmac mtrmac left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

LGTM, just a few possible cleanups to ease future maintenance.

Comment thread pkg/docker/config/config.go Resolved
Comment thread pkg/docker/config/config.go Resolved
Comment thread pkg/docker/config/config.go Resolved
Comment thread pkg/docker/config/config_test.go Resolved
Comment thread pkg/docker/config/config.go Resolved

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM
once @mtrmac comments are addressed.

Instead of packing and unpacking it into two variables in
various places.  Prep for adding a third member of this struct
as part of containers#1746

Signed-off-by: Colin Walters <[email protected]>
@cgwalters
cgwalters force-pushed the add-system-path-prep branch from 12a3809 to a0f60f6 Compare December 20, 2022 12:59
Just a general cleanup.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters
cgwalters force-pushed the add-system-path-prep branch from a0f60f6 to 7920ffb Compare December 20, 2022 13:00
@cgwalters

Copy link
Copy Markdown
Contributor Author

Thanks, addressed those comments, and also added a further cleanup commit.

@rhatdan
rhatdan merged commit debf9d8 into containers:main Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants