Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tay <[email protected]>
  • Loading branch information
Ryan Tay committed Aug 15, 2024
1 parent 5cd8ec5 commit f86c135
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion admiral/pkg/controller/admiral/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f86c135

Please sign in to comment.