Merge pull request #70581 from humblec/validate-correct

Correct test name typo in validation.
This commit is contained in:
k8s-ci-robot 2018-11-02 07:24:35 -07:00 committed by GitHub
commit f2c9eb860f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1750,7 +1750,7 @@ func TestValidateGlusterfs(t *testing.T) {
errfield: "path", errfield: "path",
}, },
{ {
name: "missing endpintname and path", name: "missing endpointname and path",
gfs: &core.GlusterfsVolumeSource{EndpointsName: "", Path: ""}, gfs: &core.GlusterfsVolumeSource{EndpointsName: "", Path: ""},
errtype: field.ErrorTypeRequired, errtype: field.ErrorTypeRequired,
errfield: "endpoints", errfield: "endpoints",