advancedtelematic / aktualizr

C++ SOTA Client
Mozilla Public License 2.0
144 stars 60 forks source link

packagemanage: Fix output of pacman config #1761

Closed doanac closed 4 years ago

doanac commented 4 years ago

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 andy@foundries.io

pattivacek commented 4 years ago

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 commented 4 years ago

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

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