Permalink
Browse files

Merge pull request #67506 from yue9944882/automated-cherry-pick-of-#6…

…7471-origin-release-1.10

Automatic merge from submit-queue.

Automated cherry pick of #67471: should cast va instead of pv

Cherry pick of #67471 on release-1.10.

#67471: should cast va instead of pv
  • Loading branch information...
k8s-merge-robot committed Aug 17, 2018
2 parents b16193f + 67eca2b commit 0c38c362511b20a098d7cd855f1314dad92c2780
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/pkg/auth/authorizer/node/graph_populator.go
@@ -144,7 +144,7 @@ func (g *graphPopulator) deleteVolumeAttachment(obj interface{}) {
if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok {
obj = tombstone.Obj
}
attachment, ok := obj.(*api.PersistentVolume)
attachment, ok := obj.(*storagev1beta1.VolumeAttachment)
if !ok {
glog.Infof("unexpected type %T", obj)
return

0 comments on commit 0c38c36

Please sign in to comment.