Skip to content

Commit

Permalink
vmresources: json describe balloon
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Catangiu <acatan@amazon.com>
  • Loading branch information
acatangiu committed Jul 8, 2021
1 parent da101eb commit c68c9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm/src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl VmResources {

/// Generates JSON describing Vmm resources configuration.
pub fn to_json(&self) -> String {
let balloon_device: Option<BalloonDeviceConfig> = None;
let balloon_device: Option<BalloonDeviceConfig> = self.balloon.get_config().ok();
let block_devices: Vec<BlockDeviceConfig> = vec![];
let boot_source: BootSourceConfig = self
.boot_config
Expand Down

0 comments on commit c68c9ab

Please sign in to comment.