k3s/pkg/volume/glusterfs
Kubernetes Submit Queue a66301b313
Merge pull request #59536 from linyouchong/lyc-20180208
Automatic merge from submit-queue (batch tested with PRs 59536, 61104, 61030, 59013, 61169). 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 glusterfs.go#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-03-21 03:43:11 -07:00
..
BUILD update bazel 2018-02-27 20:23:36 +08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
glusterfs.go Merge pull request #59536 from linyouchong/lyc-20180208 2018-03-21 03:43:11 -07:00
glusterfs_minmax.go Make interface references consistent across the plugin code. 2017-05-17 10:19:56 +05:30
glusterfs_minmax_test.go glusterfs: add MinMaxAllocator 2016-12-03 05:27:10 +01:00
glusterfs_test.go fix incorrect logic in glusterfs.go#canSupport 2018-02-09 14:25:16 +08:00
glusterfs_util.go Avoid explicit mention of glusterfs in error strings. 2018-02-22 11:39:19 +05:30