func (f *Cloud) GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error) {
	if val, ok := f.VolumeLabelMap[pv.Name]; ok {
		return val, nil
	}
	return nil, fmt.Errorf("label not found for volume")
}
// GetLabelsForVolume returns the labels for a PersistentVolume
GetLabelsForVolume returns the labels for a PersistentVolume
// GetLabelsForVolume returns the labels for a PersistentVolume
func (f *Cloud) GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error) {
	if val, ok := f.VolumeLabelMap[pv.Name]; ok {
		return val, nil
	}
	return nil, fmt.Errorf("label not found for volume")
}
func ( f * Cloud ) GetLabelsForVolume ( ctx context . Context , pv * v1 . PersistentVolume ) ( map [ string ] string , error ) { if val , ok := f . VolumeLabelMap [ pv . Name ] ; ok { return val , nil } return nil , fmt . Errorf ( " " ) }
GetLabelsForVolume returns the labels for a PersistentVolume
GetLabelsForVolume returns the labels for a PersistentVolume