This is an automated email from the ASF dual-hosted git repository.

manirajv06 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new 1962e80b [YUNIKORN-3275] Remove code: clean up shim scheduler 
bootstrap code in pkg/shim/scheduler.go (#1024)
1962e80b is described below

commit 1962e80bbdd495fe094c4b6d7241d05466689b24
Author: Manikandan R <[email protected]>
AuthorDate: Wed May 6 15:30:21 2026 +0530

    [YUNIKORN-3275] Remove code: clean up shim scheduler bootstrap code in 
pkg/shim/scheduler.go (#1024)
    
    Closes: #1024
    
    Signed-off-by: Manikandan R <[email protected]>
---
 pkg/shim/scheduler.go | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/pkg/shim/scheduler.go b/pkg/shim/scheduler.go
index 291083f4..5049bca2 100644
--- a/pkg/shim/scheduler.go
+++ b/pkg/shim/scheduler.go
@@ -87,14 +87,6 @@ func NewShimScheduler(scheduler api.SchedulerAPI, configs 
*conf.SchedulerConf, b
        return newShimSchedulerInternal(context, apiFactory, rmCallback)
 }
 
-func NewShimSchedulerForPlugin(scheduler api.SchedulerAPI, informerFactory 
informers.SharedInformerFactory, configs *conf.SchedulerConf, 
bootstrapConfigMaps []*v1.ConfigMap) *KubernetesShim {
-       apiFactory := client.NewAPIFactory(scheduler, informerFactory, configs, 
false)
-       context := cache.NewContextWithBootstrapConfigMaps(apiFactory, 
bootstrapConfigMaps)
-       utils.SetPluginMode(true)
-       rmCallback := cache.NewAsyncRMCallback(context)
-       return newShimSchedulerInternal(context, apiFactory, rmCallback)
-}
-
 // this is visible for testing
 func newShimSchedulerInternal(ctx *cache.Context, apiFactory 
client.APIProvider, cb api.ResourceManagerCallback) *KubernetesShim {
        ss := &KubernetesShim{


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to