Skip to content

Commit

Permalink
Fix Redis Rust component instantiation
Browse files Browse the repository at this point in the history
Signed-off-by: itowlson <[email protected]>
  • Loading branch information
itowlson committed Jul 12, 2023
1 parent b709896 commit 5844e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/rust/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub fn redis_component(_attr: TokenStream, item: TokenStream) -> TokenStream {

mod __spin_redis {
struct Spin;
::spin_sdk::export_reactor!(Spin);

impl ::spin_sdk::inbound_redis::InboundRedis for Spin {
fn handle_message(msg: ::spin_sdk::inbound_redis::Payload) -> Result<(), ::spin_sdk::redis::Error> {
Expand Down

0 comments on commit 5844e3f

Please sign in to comment.