Method
vm_add_disk
(&self, disk_config: String)
Source from the content-addressed store, hash-verified
| 135 | } |
| 136 | |
| 137 | async fn vm_add_disk(&self, disk_config: String) -> Result<Optional<String>> { |
| 138 | let disk_config = serde_json::from_str(&disk_config).map_err(api_error)?; |
| 139 | self.vm_action(&AddDisk, disk_config).await |
| 140 | } |
| 141 | |
| 142 | async fn vm_add_fs(&self, fs_config: String) -> Result<Optional<String>> { |
| 143 | let fs_config = serde_json::from_str(&fs_config).map_err(api_error)?; |
Tested by
no test coverage detected