Make sure VolumeAttachment storage implements Patcher

This commit is contained in:
Jan Safranek 2018-11-19 15:25:07 +01:00
parent a73f793e8e
commit 665b4daf56

View File

@ -70,6 +70,8 @@ type StatusREST struct {
store *genericregistry.Store
}
var _ = rest.Patcher(&StatusREST{})
// New creates a new VolumeAttachment resource
func (r *StatusREST) New() runtime.Object {
return &storageapi.VolumeAttachment{}