Revert "support short name for flowschema and prioritylevelconfiguration"

This reverts commit 3dd0c41663.
This commit is contained in:
Jordan Liggitt 2023-05-13 11:11:04 -04:00
parent 72202f9a00
commit 815578295a
No known key found for this signature in database
2 changed files with 0 additions and 16 deletions

View File

@ -72,14 +72,6 @@ func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
return &REST{store}, &StatusREST{store: &statusStore}, nil
}
// Implement ShortNamesProvider
var _ rest.ShortNamesProvider = &REST{}
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
func (r *REST) ShortNames() []string {
return []string{"fs"}
}
// StatusREST implements the REST endpoint for changing the status of a flow schema.
type StatusREST struct {
store *genericregistry.Store

View File

@ -72,14 +72,6 @@ func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
return &REST{store}, &StatusREST{store: &statusStore}, nil
}
// Implement ShortNamesProvider
var _ rest.ShortNamesProvider = &REST{}
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
func (r *REST) ShortNames() []string {
return []string{"plc"}
}
// StatusREST implements the REST endpoint for changing the status of a priority level configuration.
type StatusREST struct {
store *genericregistry.Store