mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Merge pull request #6475 from bgrant0607/api
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