Skip to content

Commit

Permalink
[NO-ISSUE] make use of the existing oprName variable for our selector
Browse files Browse the repository at this point in the history
  • Loading branch information
gtully committed Apr 12, 2024
1 parent 6be9328 commit 758557a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/common_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func DeployCustomAddress(targetNamespace string, customFunc func(candidate *brok
func GetOperatorLog(ns string) (*string, error) {
cfg, err := config.GetConfig()
Expect(err).To(BeNil())
labelSelector, err := labels.Parse("control-plane=controller-manager,name=activemq-artemis-operator")
labelSelector, err := labels.Parse("control-plane=controller-manager,name=" + oprName)
Expect(err).To(BeNil())
clientset, err := kubernetes.NewForConfig(cfg)
Expect(err).To(BeNil())
Expand Down

0 comments on commit 758557a

Please sign in to comment.