From 4480eb0d88e3f0815f835f8a1efa06a821c7fb73 Mon Sep 17 00:00:00 2001 From: Jeff Bonhag Date: Mon, 1 Jun 2020 15:22:28 -0400 Subject: [PATCH] Freeze values --- plugins/providers/virtualbox/model/storage_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/providers/virtualbox/model/storage_controller.rb b/plugins/providers/virtualbox/model/storage_controller.rb index a1b7e1280..7343ec9de 100644 --- a/plugins/providers/virtualbox/model/storage_controller.rb +++ b/plugins/providers/virtualbox/model/storage_controller.rb @@ -2,11 +2,11 @@ module VagrantPlugins module ProviderVirtualBox module Model # Represents a storage controller for VirtualBox. Storage controllers - # have a type, a name, and can have hard disks or optical attached. + # have a type, a name, and can have hard disks or optical drives attached. class StorageController - SATA_CONTROLLER_TYPES = ["IntelAhci"].freeze - IDE_CONTROLLER_TYPES = ["PIIX4", "PIIX3", "ICH6"].freeze + SATA_CONTROLLER_TYPES = ["IntelAhci"].map(&:freeze).freeze + IDE_CONTROLLER_TYPES = ["PIIX4", "PIIX3", "ICH6"].map(&:freeze).freeze # The name of the storage controller. #