mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Change FuzzTime to FuzzTimeStrict for naming consistency
This commit is contained in:
parent
9832418870
commit
03a650f365
@ -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"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user