update custom-metrics-apiserver

This commit is contained in:
Johannes Würbach 2020-11-09 17:01:00 +01:00
parent b09c680295
commit 4d0d0f3a38
No known key found for this signature in database
GPG key ID: 74DB0F4D956CCCE3
4 changed files with 5 additions and 5 deletions

View file

@ -245,7 +245,7 @@ func typeToJSON(typeName string) string {
return "string"
case "byte", "*byte":
return "string"
case "v1.DeletionPropagation", "*v1.DeletionPropagation":
case "v1.DeletionPropagation", "*v1.DeletionPropagation", "v1.ResourceVersionMatch":
return "string"
// TODO: Fix these when go-restful supports a way to specify an array query param: