Only drop API type if replacement type can be found

This commit is contained in:
Darren Shepherd
2020-03-12 14:01:40 -07:00
parent 06de395825
commit c7a5c4f069
7 changed files with 32 additions and 24 deletions

View File

@@ -182,14 +182,6 @@ func (s *Store) schemasToWatch(apiOp *types.APIRequest) (result []*types.APISche
continue
}
if attributes.PreferredVersion(schema) != "" {
continue
}
if attributes.PreferredGroup(schema) != "" {
continue
}
if schema.Store == nil {
continue
}