mirror of
https://github.com/rancher/steve.git
synced 2025-09-02 07:55:31 +00:00
Only drop API type if replacement type can be found
This commit is contained in:
@@ -89,14 +89,6 @@ func validSchema(schema *types.APISchema) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if attributes.PreferredVersion(schema) != "" {
|
||||
return false
|
||||
}
|
||||
|
||||
if attributes.PreferredGroup(schema) != "" {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user