Change FuzzTime to FuzzTimeStrict for naming consistency

This commit is contained in:
Brendan Chang 2019-10-26 22:36:28 -04:00
parent 9832418870
commit 03a650f365

View File

@ -81,10 +81,10 @@ func FuzzSigYaml(b []byte) int {
return out 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 // "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the
// unmarshaled result can be marshaled back to the input. // unmarshaled result can be marshaled back to the input.
func FuzzTime(b []byte) int { func FuzzTimeStrict(b []byte) int {
var timeHolder struct { var timeHolder struct {
T metav1.Time `json:"t"` T metav1.Time `json:"t"`
} }