Skip to content

Commit

Permalink
Fix bug in extra volumes handling (vmware-tanzu#397)
Browse files Browse the repository at this point in the history
Signed-off-by: liz <liz@heptio.com>
  • Loading branch information
liztio authored and ceridwen committed Jul 19, 2018
1 parent f44aa2d commit e09d195
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/plugin/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ func loadDefinition(bytes []byte) (*manifest.Manifest, error) {

func loadPlugin(def *manifest.Manifest, namespace, sonobuoyImage, imagePullPolicy string) (plugin.Interface, error) {
pluginDef := plugin.Definition{
Name: def.SonobuoyConfig.PluginName,
ResultType: def.SonobuoyConfig.ResultType,
Spec: def.Spec,
Name: def.SonobuoyConfig.PluginName,
ResultType: def.SonobuoyConfig.ResultType,
ExtraVolumes: def.ExtraVolumes,
Spec: def.Spec,
}

switch def.SonobuoyConfig.Driver {
Expand Down

0 comments on commit e09d195

Please sign in to comment.