mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +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:
commit
ed2192a61e
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
|
||||
|
Loading…
Reference in New Issue
Block a user