Merge pull request #84409 from BrendanSChang/fuzz

Change FuzzTime to FuzzTimeStrict for naming consistency
This commit is contained in:
Kubernetes Prow Robot 2019-10-27 18:29:25 -07:00 committed by GitHub
commit 7d13dfe3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,10 +81,10 @@ func FuzzSigYaml(b []byte) int {
return out
}
// FuzzTime is a fuzz target for strict-unmarshaling Time defined in
// FuzzTimeStrict is a fuzz target for strict-unmarshaling Time defined in
// "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the
// unmarshaled result can be marshaled back to the input.
func FuzzTime(b []byte) int {
func FuzzTimeStrict(b []byte) int {
var timeHolder struct {
T metav1.Time `json:"t"`
}