File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ limitations under the License.
1818package profile
1919
2020import (
21- "go.goms.io/fleet/pkg/propertychecker/azure"
2221 "go.goms.io/fleet/pkg/scheduler/framework"
2322 "go.goms.io/fleet/pkg/scheduler/framework/plugins/clusteraffinity"
2423 "go.goms.io/fleet/pkg/scheduler/framework/plugins/clustereligibility"
@@ -32,16 +31,12 @@ const (
3231 defaultProfileName = "DefaultProfile"
3332)
3433
35- type Options struct {
36- propertyChecker * azure.PropertyChecker
37- }
38-
3934// NewDefaultProfile creates a default scheduling profile.
40- func NewDefaultProfile (opts Options ) * framework.Profile {
35+ func NewDefaultProfile () * framework.Profile {
4136 p := framework .NewProfile (defaultProfileName )
4237
4338 // default plugin list
44- clusterAffinityPlugin := clusteraffinity .New (clusteraffinity . WithAzurePropertyChecker ( opts . propertyChecker ) )
39+ clusterAffinityPlugin := clusteraffinity .New ()
4540 clusterEligibilityPlugin := clustereligibility .New ()
4641 samePlacementAffinityPlugin := sameplacementaffinity .New ()
4742 topologySpreadConstraintsPlugin := topologyspreadconstraints .New ()
You can’t perform that action at this time.
0 commit comments