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

View File

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