Use correct singular name format for subresources

This commit is contained in:
Arda Güçlü
2022-11-04 16:05:45 +03:00
parent 578ddde80e
commit 672e0b1e01
32 changed files with 48 additions and 44 deletions

View File

@@ -93,3 +93,7 @@ func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation
return selfSAR, nil
}
func (r *REST) GetSingularName() string {
return "selfsubjectrulesreview"
}