File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ impl<'a> Persist<'a> for MMIODeviceManager {
539
539
if let Some ( mmds) = & state. mmds {
540
540
constructor_args
541
541
. vm_resources
542
- . set_mmds_version ( mmds. version , constructor_args. instance_id ) ?;
542
+ . set_mmds_basic_config ( mmds. version , constructor_args. instance_id ) ?;
543
543
}
544
544
545
545
for net_state in & state. net_devices {
Original file line number Diff line number Diff line change @@ -383,13 +383,13 @@ impl VmResources {
383
383
instance_id : & str ,
384
384
) -> Result < ( ) , MmdsConfigError > {
385
385
self . set_mmds_network_stack_config ( & config) ?;
386
- self . set_mmds_version ( config. version , instance_id) ?;
386
+ self . set_mmds_basic_config ( config. version , instance_id) ?;
387
387
388
388
Ok ( ( ) )
389
389
}
390
390
391
- /// Updates MMDS version .
392
- pub fn set_mmds_version (
391
+ /// Updates MMDS-related config other than MMDS network stack .
392
+ pub fn set_mmds_basic_config (
393
393
& mut self ,
394
394
version : MmdsVersion ,
395
395
instance_id : & str ,
You can’t perform that action at this time.
0 commit comments