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 {
539539 if let Some ( mmds) = & state. mmds {
540540 constructor_args
541541 . vm_resources
542- . set_mmds_version ( mmds. version , constructor_args. instance_id ) ?;
542+ . set_mmds_basic_config ( mmds. version , constructor_args. instance_id ) ?;
543543 }
544544
545545 for net_state in & state. net_devices {
Original file line number Diff line number Diff line change @@ -383,13 +383,13 @@ impl VmResources {
383383 instance_id : & str ,
384384 ) -> Result < ( ) , MmdsConfigError > {
385385 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) ?;
387387
388388 Ok ( ( ) )
389389 }
390390
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 (
393393 & mut self ,
394394 version : MmdsVersion ,
395395 instance_id : & str ,
You can’t perform that action at this time.
0 commit comments