Skip to content

Commit

Permalink
Update crates/containerd-shim-wasm/src/sandbox/instance.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
  • Loading branch information
jprendes authored Feb 26, 2025
1 parent 99b19df commit 36e0411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/containerd-shim-wasm/src/sandbox/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ impl InstanceConfig {
}

/// get the options config for the instance
pub fn get_config(&self) -> Config {
self.config.clone()
pub fn get_config(&self) -> &Config {
&self.config
}
}

Expand Down

0 comments on commit 36e0411

Please sign in to comment.