From 70408d2cbd8a170f51450daaa2d8573a1f32fc9a Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Wed, 27 Jan 2016 18:26:12 -0800 Subject: [PATCH] PluginFactoryArgs: Expose explicit fields None of the embedded fields are used for inheritance methods. Expose them for better code analysis. --- plugin/pkg/scheduler/factory/plugins.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugin/pkg/scheduler/factory/plugins.go b/plugin/pkg/scheduler/factory/plugins.go index 93f95594e5..1d0d80caa4 100644 --- a/plugin/pkg/scheduler/factory/plugins.go +++ b/plugin/pkg/scheduler/factory/plugins.go @@ -33,13 +33,13 @@ import ( // PluginFactoryArgs are passed to all plugin factory functions. type PluginFactoryArgs struct { - algorithm.PodLister - algorithm.ServiceLister - algorithm.ControllerLister - NodeLister algorithm.NodeLister - NodeInfo predicates.NodeInfo - PVInfo predicates.PersistentVolumeInfo - PVCInfo predicates.PersistentVolumeClaimInfo + PodLister algorithm.PodLister + ServiceLister algorithm.ServiceLister + ControllerLister algorithm.ControllerLister + NodeLister algorithm.NodeLister + NodeInfo predicates.NodeInfo + PVInfo predicates.PersistentVolumeInfo + PVCInfo predicates.PersistentVolumeClaimInfo } // A FitPredicateFactory produces a FitPredicate from the given args.