You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pa...@apache.org on 2023/10/06 15:21:01 UTC

[yunikorn-k8shim] branch master updated: [YUNIKORN-2019] Remove redundant informer call in spark.go ServiceInit (#685)

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

payang 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 0253b4ad [YUNIKORN-2019] Remove redundant informer call in spark.go ServiceInit (#685)
0253b4ad is described below

commit 0253b4ad1a096c02767dd5cbe179fe8c4277edfb
Author: brandboat <br...@gmail.com>
AuthorDate: Fri Oct 6 23:20:33 2023 +0800

    [YUNIKORN-2019] Remove redundant informer call in spark.go ServiceInit (#685)
    
    Closes: #685
    
    Signed-off-by: PoAn Yang <pa...@apache.org>
---
 pkg/appmgmt/sparkoperator/spark.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pkg/appmgmt/sparkoperator/spark.go b/pkg/appmgmt/sparkoperator/spark.go
index 5aa7cc73..a1caf655 100644
--- a/pkg/appmgmt/sparkoperator/spark.go
+++ b/pkg/appmgmt/sparkoperator/spark.go
@@ -65,7 +65,6 @@ func (os *Manager) ServiceInit() error {
 	var factoryOpts []crInformers.SharedInformerOption
 	os.crdInformerFactory = crInformers.NewSharedInformerFactoryWithOptions(
 		crClient, 0, factoryOpts...)
-	os.crdInformerFactory.Sparkoperator().V1beta2().SparkApplications().Informer()
 	os.crdInformer = os.crdInformerFactory.Sparkoperator().V1beta2().SparkApplications().Informer()
 	os.crdInformer.AddEventHandler(k8sCache.ResourceEventHandlerFuncs{
 		UpdateFunc: os.updateApplication,


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org