Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

packagemanage: Fix output of pacman config #1761

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

doanac
Copy link
Collaborator

@doanac doanac commented Sep 24, 2020

When the config is dumped out for the docker-app manager, the custom
config key/vals are printed val=key. eg:

"/tmp/sota/docker-apps" = docker_apps_root

This fixes the issue.

Signed-off-by: Andy Doan [email protected]

@pattivacek
Copy link
Collaborator

This is perhaps counterintuitive, and I'm surprised no one noticed until now. :) I think this might deserve a small unit test to prevent future breakage.

@doanac
Copy link
Collaborator Author

doanac commented Sep 25, 2020

I think this might deserve a small unit test to prevent future breakage.

Great idea. I force pushed a unit test for this.

When the config is dumped out for the docker-app manager, the custom
config key/vals are printed val=key. eg:

 "/tmp/sota/docker-apps" = docker_apps_root

This fixes the issue.

Signed-off-by: Andy Doan <[email protected]>
Copy link
Collaborator

@pattivacek pattivacek left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@pattivacek pattivacek merged commit c364400 into advancedtelematic:master Sep 28, 2020
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.

2 participants