mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Change "time/Time" to "util.Time", which is what we use in our API for time.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -727,7 +727,7 @@ func typeToJSON(typeName string) string {
|
||||
return "string"
|
||||
case "float64", "float32":
|
||||
return "number"
|
||||
case "time/Time":
|
||||
case "util.Time":
|
||||
return "string"
|
||||
default:
|
||||
return typeName
|
||||
|
Reference in New Issue
Block a user