mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
make reousrce prefix consistent with other registries
This commit is contained in:
parent
8f4f682659
commit
fc47f08183
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user