Use correct singular name format for subresources
This commit is contained in:
@@ -222,5 +222,5 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
|
||||
var _ rest.SingularNameProvider = &StatusREST{}
|
||||
|
||||
func (r *StatusREST) GetSingularName() string {
|
||||
return r.store.GetSingularName()
|
||||
return r.store.GetSingularName() + "/status"
|
||||
}
|
||||
|
@@ -172,5 +172,5 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
|
||||
}
|
||||
|
||||
func (r *StatusREST) GetSingularName() string {
|
||||
return r.store.GetSingularName()
|
||||
return r.store.GetSingularName() + "/status"
|
||||
}
|
||||
|
Reference in New Issue
Block a user