Skip to content

Commit 1186155

Browse files
Re-export the correct export in a dependency (#3385)
Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
1 parent 10d4e24 commit 1186155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/compose/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl<'a, L: ComponentSourceLoader> Composer<'a, L> {
381381

382382
let export_id = self
383383
.graph
384-
.alias_instance_export(dependency_info.instantiation_id, &import_name)
384+
.alias_instance_export(dependency_info.instantiation_id, &export_name)
385385
.map_err(|e| ComposeError::PrepareError(e.into()))?;
386386

387387
assert!(arguments.insert(import_name, export_id).is_none());

0 commit comments

Comments
 (0)