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

Commit

Permalink
packagemanage: Fix output of pacman config
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
doanac committed Sep 24, 2020
1 parent 5336fd2 commit 7f8e76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libaktualizr/package_manager/packagemanagerconfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ void PackageConfig::writeToStream(std::ostream& out_stream) const {
// note that this is imperfect as it will not print default values deduced
// from users of `extra`
for (const auto& e : extra) {
writeOption(out_stream, e.first, e.second);
writeOption(out_stream, e.second, e.first);
}
}

0 comments on commit 7f8e76a

Please sign in to comment.