Skip to content

Commit

Permalink
Merge pull request fermyon#1993 from michelleN/removewarning
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleN authored Oct 30, 2023
2 parents 671f599 + 1b7b31e commit 0da5051
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/trigger/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ impl Loader for TriggerLoader {
)
})?;
let component = spin_componentize::componentize_if_necessary(&bytes)?;
let was_already_component = matches!(component, std::borrow::Cow::Borrowed(_));
if was_already_component {
terminal::warn!(
"Spin component at path {} is a WebAssembly component instead of a \
WebAssembly module. Use of the WebAssembly component model is an experimental feature.",
path.display()
)
}
spin_core::Component::new(engine, component.as_ref())
.with_context(|| format!("loading module {path:?}"))
}
Expand Down

0 comments on commit 0da5051

Please sign in to comment.