mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Set rootcontext of emptyDir tmpfs mounts correctly
This commit is contained in:
		| @@ -118,7 +118,7 @@ func TestPlugin(t *testing.T) { | ||||
| 			}, | ||||
| 		}, | ||||
| 	} | ||||
| 	builder, err := plug.NewBuilder(spec, &api.ObjectReference{UID: types.UID("poduid")}) | ||||
| 	builder, err := plug.NewBuilder(spec, &api.ObjectReference{UID: types.UID("poduid")}, volume.VolumeOptions{""}) | ||||
| 	if err != nil { | ||||
| 		t.Errorf("Failed to make a new Builder: %v", err) | ||||
| 	} | ||||
| @@ -173,7 +173,7 @@ func TestPluginLegacy(t *testing.T) { | ||||
| 		t.Errorf("Expected false") | ||||
| 	} | ||||
|  | ||||
| 	if _, err := plug.NewBuilder(&api.Volume{VolumeSource: api.VolumeSource{GitRepo: &api.GitRepoVolumeSource{}}}, &api.ObjectReference{UID: types.UID("poduid")}); err == nil { | ||||
| 	if _, err := plug.NewBuilder(&api.Volume{VolumeSource: api.VolumeSource{GitRepo: &api.GitRepoVolumeSource{}}}, &api.ObjectReference{UID: types.UID("poduid")}, volume.VolumeOptions{""}); err == nil { | ||||
| 		t.Errorf("Expected failiure") | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Paul Morie
					Paul Morie