From e9e5f87d65005671177bbdd2e38b09f51ad43555 Mon Sep 17 00:00:00 2001 From: Abrar Shivani Date: Thu, 8 Dec 2016 14:24:50 -0800 Subject: [PATCH] Changed default scsi controller type --- pkg/cloudprovider/providers/vsphere/vsphere.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/providers/vsphere/vsphere.go b/pkg/cloudprovider/providers/vsphere/vsphere.go index e80556540f8..c5d426d7b3e 100644 --- a/pkg/cloudprovider/providers/vsphere/vsphere.go +++ b/pkg/cloudprovider/providers/vsphere/vsphere.go @@ -275,7 +275,7 @@ func readInstance(client *govmomi.Client, cfg *VSphereConfig) (string, string, e func newVSphere(cfg VSphereConfig) (*VSphere, error) { if cfg.Disk.SCSIControllerType == "" { - cfg.Disk.SCSIControllerType = LSILogicSASControllerType + cfg.Disk.SCSIControllerType = PVSCSIControllerType } else if !checkControllerSupported(cfg.Disk.SCSIControllerType) { glog.Errorf("%v is not a supported SCSI Controller type. Please configure 'lsilogic-sas' OR 'pvscsi'", cfg.Disk.SCSIControllerType) return nil, errors.New("Controller type not supported. Please configure 'lsilogic-sas' OR 'pvscsi'")