Skip to content

Commit

Permalink
Fix update handler in pkg/proxy/index controller
Browse files Browse the repository at this point in the history
On-behalf-of: SAP [email protected]
Signed-off-by: Robert Vasek <[email protected]>
  • Loading branch information
gman0 committed Feb 27, 2025
1 parent 9a5e0c7 commit f19f2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/index/index_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func NewController(
},
UpdateFunc: func(old, obj interface{}) {
shard := obj.(*corev1alpha1.Shard)
oldShard := obj.(*corev1alpha1.Shard)
oldShard := old.(*corev1alpha1.Shard)
if oldShard.Spec.BaseURL == shard.Spec.BaseURL {
return
}
Expand Down

0 comments on commit f19f2c9

Please sign in to comment.