kubernetes/pkg/volume
Kubernetes Submit Queue aee2cff1b8
Merge pull request #59548 from linyouchong/lyc-201802082
Automatic merge from submit-queue (batch tested with PRs 59466, 58912, 59605, 59548). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix incorrect logic in canSupport

**What this PR does / why we need it**:
if `spec.PersistentVolume` is nil or `spec.Volume` is nil, func `canSupport` should return false.

**Release note**:
```
NONE
```
/release-note-none
/sig storage
2018-02-09 03:44:41 -08:00
..
aws_ebs remove duplicated check of device path in aws attacher 2018-01-18 12:36:14 +08:00
azure_dd Merge pull request #59287 from cheftako/cloud-context-level 2018-02-06 20:27:39 -08:00
azure_file initial work for azure file grow size implementation 2018-01-30 13:36:29 +00:00
cephfs make sure mounter not nil and fix some typo 2018-02-06 18:28:07 +08:00
cinder Add context to all relevant cloud APIs 2018-02-06 12:49:17 -08:00
configmap Add support for binary file in configmap 2018-01-23 07:28:34 -05:00
csi Merge pull request #57194 from linyouchong/linyouchong-20171214 2018-02-06 23:35:13 -08:00
downwardapi Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
empty_dir Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
fc fix incorrect logic in canSupport 2018-02-09 11:45:15 +08:00
flexvolume Remove unused command waitfordetach from flex volume driver 2018-01-03 16:02:31 +08:00
flocker Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
gce_pd Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
git_repo Merge pull request #51098 from jsafrane/exec-git 2018-01-11 09:22:21 -08:00
glusterfs Remove provisioner configuration from info message. 2018-02-07 13:30:42 +05:30
host_path Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
iscsi fix incorrect logic in canSupport 2018-02-09 11:45:15 +08:00
local Removed unnecessary test code. 2018-02-06 18:38:52 -08:00
nfs Fixed TearDown of NFS with root squash. 2018-01-08 14:01:33 +01:00
photon_pd Add context to all relevant cloud APIs 2018-02-06 12:49:17 -08:00
portworx Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
projected Merge pull request #57422 from joelsmith/nested_data_vol 2018-01-18 03:20:19 -08:00
quobyte Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
rbd fix incorrect logic in canSupport 2018-02-09 11:45:15 +08:00
scaleio Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
secret Merge pull request #57422 from joelsmith/nested_data_vol 2018-01-18 03:20:19 -08:00
storageos Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
testing Initial local PV block device plugin checkin. 2018-02-06 14:49:44 -08:00
util Merge pull request #58177 from jingxu97/Jan/reconstruct 2018-02-08 18:21:34 -08:00
validation Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
vsphere_volume Adding volume metrics support for vSphere Cloud Provider 2018-02-04 16:10:15 -08:00
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics_cached.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_errors.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
plugins.go mini fix about typo 2018-01-26 15:42:57 +08:00
plugins_test.go Use const instead of hard code for volume plugin 2017-09-18 20:09:07 +08:00
util.go Merge pull request #56742 from zouyee/patch-12 2017-12-20 16:47:34 -08:00
util_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
volume.go BlockVolumesSupport: CRI, VolumeManager and OperationExecutor changes 2017-11-20 14:10:26 -05:00
volume_linux.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00
volume_unsupported.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00