mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-27 02:56:50 +00:00
When build runtime-rs, one unformatted code block comes up,as below:
```
- config
- .hypervisor
- .entry("qemu".to_owned())
- .and_modify(|hv| {
- hv.cpu_info.default_vcpus = default_vcpus;
- hv.cpu_info.default_maxvcpus = default_maxvcpus;
- hv.memory_info.default_memory = default_memory;
- hv.memory_info.default_maxmemory = default_maxmemory;
- });
+ config.hypervisor.entry("qemu".to_owned()).and_modify(|hv| {
+ hv.cpu_info.default_vcpus = default_vcpus;
+ hv.cpu_info.default_maxvcpus = default_maxvcpus;
+ hv.memory_info.default_memory = default_memory;
+ hv.memory_info.default_maxmemory = default_maxmemory;
+ });
```
Let's format it now.
Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>