Skip to content

Commit

Permalink
Fix: Should use metadata name queue key func for addon informer
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <[email protected]>
  • Loading branch information
qiujian16 committed Nov 25, 2024
1 parent 7a190f1 commit e60ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/addon/controllers/addonmanagement/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func NewAddonManagementController(
}

return factory.New().WithInformersQueueKeysFunc(
queue.QueueKeyByMetaNamespaceName,
queue.QueueKeyByMetaName,
addonInformers.Informer(), clusterManagementAddonInformers.Informer()).
WithInformersQueueKeysFunc(
index.ClusterManagementAddonByPlacementDecisionQueueKey(
Expand Down

0 comments on commit e60ae0a

Please sign in to comment.