Merge pull request #51092 from humblec/gluster-validation

Automatic merge from submit-queue (batch tested with PRs 51047, 48573, 50764, 51092, 50578)

Replace validateGlusterfs() with validateGlusterfsVolumeSource() for consistency.
This commit is contained in:
Kubernetes Submit Queue
2017-08-23 17:56:17 -07:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -998,7 +998,7 @@ func TestValidateGlusterfs(t *testing.T) {
}
for i, tc := range testCases {
errs := validateGlusterfs(tc.gfs, field.NewPath("field"))
errs := validateGlusterfsVolumeSource(tc.gfs, field.NewPath("field"))
if len(errs) > 0 && tc.errtype == "" {
t.Errorf("[%d: %q] unexpected error(s): %v", i, tc.name, errs)