From f86c135bebc9e7e2a4faa7ba7c21b546e64da973 Mon Sep 17 00:00:00 2001 From: Ryan Tay Date: Thu, 15 Aug 2024 15:05:54 -0700 Subject: [PATCH] remove dead code Signed-off-by: Ryan Tay --- admiral/pkg/controller/admiral/shard.go | 1 - 1 file changed, 1 deletion(-) diff --git a/admiral/pkg/controller/admiral/shard.go b/admiral/pkg/controller/admiral/shard.go index a0745fcbf..1af0c2153 100644 --- a/admiral/pkg/controller/admiral/shard.go +++ b/admiral/pkg/controller/admiral/shard.go @@ -155,7 +155,6 @@ func NewShardController(stopCh <-chan struct{}, handler ShardHandler, configPath opts.LabelSelector = fmt.Sprintf("%s=%s, %s=%s", opIdLabel, opIdValue, shardIdLabel, shardIdValue) }) informerFactory := informers.NewSharedInformerFactoryWithOptions(shardController.K8sClient, resyncPeriod, labelOptions) - //informerFactory := informers.NewSharedInformerFactoryWithOptions(shardController.K8sClient, resyncPeriod) informerFactory.Start(stopCh) shardController.informer = v1.NewShardInformer(shardController.CrdClient, namespace,