Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isClientValid (0.17 sec)

  1. pkg/volume/portworx/portworx_util.go

    		return fmt.Errorf("Portworx volume: %s doesn't match expected size after resize. expected:%v actual:%v",
    			spec.Name(), vol.Spec.Size, updatedVol.Spec.Size)
    	}
    
    	return nil
    }
    
    func isClientValid(client *osdclient.Client) (bool, error) {
    	if client == nil {
    		return false, nil
    	}
    
    	_, err := client.Versions(osdapi.OsdVolumePath)
    	if err != nil {
    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