mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
replace repo builder_id with name for toml export
This commit is contained in:
@@ -309,6 +309,13 @@ impl Resolve<ExportResourcesToToml, User> for State {
|
||||
.get(&repo.config.server_id)
|
||||
.unwrap_or(&String::new()),
|
||||
);
|
||||
// replace repo builder with name
|
||||
repo.config.builder_id.clone_from(
|
||||
names
|
||||
.builders
|
||||
.get(&repo.config.builder_id)
|
||||
.unwrap_or(&String::new()),
|
||||
);
|
||||
res.repos.push(convert_resource::<Repo>(repo, &names.tags))
|
||||
}
|
||||
ResourceTarget::Stack(id) => {
|
||||
|
||||
Reference in New Issue
Block a user