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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user