Correct test name typo in validation.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2018-11-02 16:39:46 +05:30
parent 808557e468
commit e031513a9b

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",