From fc47f081833ad36460806f4b300656a7261672a1 Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Wed, 3 Aug 2016 13:31:56 -0700 Subject: [PATCH] make reousrce prefix consistent with other registries --- pkg/registry/storageclass/etcd/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/storageclass/etcd/etcd.go b/pkg/registry/storageclass/etcd/etcd.go index 5241547471a..998254c16f5 100644 --- a/pkg/registry/storageclass/etcd/etcd.go +++ b/pkg/registry/storageclass/etcd/etcd.go @@ -32,7 +32,7 @@ type REST struct { // NewREST returns a RESTStorage object that will work against persistent volumes. func NewREST(opts generic.RESTOptions) *REST { - prefix := "/storageclasses" + prefix := "/" + opts.ResourcePrefix newListFunc := func() runtime.Object { return &extensions.StorageClassList{} } storageInterface := opts.Decorator(