Revert "Refactor GCE wrapper library to allow execution from E2E test suite"

This commit is contained in:
Jerzy Szczepkowski
2015-11-23 09:24:32 +01:00
parent 6fd986065b
commit 8a922e22be
8 changed files with 103 additions and 239 deletions

View File

@@ -92,11 +92,6 @@ func (f *fakeVolumeHost) NewWrapperCleaner(spec *Spec, podUID types.UID) (Cleane
return plug.NewCleaner(spec.Name(), podUID)
}
// Returns the hostname of the host kubelet is running on
func (f *fakeVolumeHost) GetHostName() string {
return "fakeHostName"
}
func ProbeVolumePlugins(config VolumeConfig) []VolumePlugin {
if _, ok := config.OtherAttributes["fake-property"]; ok {
return []VolumePlugin{