From 665b4daf56a2a8744abc8fe36f9d465245bf5a5c Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Mon, 19 Nov 2018 15:25:07 +0100 Subject: [PATCH] Make sure VolumeAttachment storage implements Patcher --- pkg/registry/storage/volumeattachment/storage/storage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/registry/storage/volumeattachment/storage/storage.go b/pkg/registry/storage/volumeattachment/storage/storage.go index df8c470c895..3727e98f54f 100644 --- a/pkg/registry/storage/volumeattachment/storage/storage.go +++ b/pkg/registry/storage/volumeattachment/storage/storage.go @@ -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{}