Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getLocalPortworxDriver (0.29 sec)

  1. pkg/volume/portworx/portworx_util.go

    	}
    	return nil
    }
    
    // AttachVolume attaches a Portworx Volume
    func (util *portworxVolumeUtil) AttachVolume(m *portworxVolumeMounter, attachOptions map[string]string) (string, error) {
    	driver, err := util.getLocalPortworxDriver(m.plugin.host)
    	if err != nil || driver == nil {
    		klog.Errorf("Failed to get portworx driver. Err: %v", err)
    		return "", err
    	}
    
    	devicePath, err := driver.Attach(m.volName, attachOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
Back to top