Added VolumeConfig to volumes

This commit is contained in:
markturansky
2015-08-31 09:44:37 -04:00
parent cb2252b57f
commit 68358fd308
11 changed files with 85 additions and 20 deletions

View File

@@ -29,7 +29,7 @@ import (
// This is the primary entrypoint for volume plugins.
// Tests covering recycling should not use this func but instead
// use their own array of plugins w/ a custom recyclerFunc as appropriate
func ProbeVolumePlugins() []volume.VolumePlugin {
func ProbeVolumePlugins(config volume.VolumeConfig) []volume.VolumePlugin {
return []volume.VolumePlugin{&hostPathPlugin{nil, newRecycler}}
}