Skip to content

Commit 74a946b

Browse files
fix: Invalid selector for OnionBalancedService #58
1 parent f274e4c commit 74a946b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agents/onionbalance/local/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func GetDynamicInformer(resourceType, namespace string) (informers.GenericInform
157157
factory := dynamicinformer.NewFilteredDynamicSharedInformerFactory(dynamicConfig, 0,
158158
namespace,
159159
func(x *metav1.ListOptions) {
160-
x.FieldSelector = "metadata.name" + onionBalancedServiceName
160+
x.FieldSelector = "metadata.name=" + onionBalancedServiceName
161161
})
162162

163163
// "GroupVersionResource" to say what to watch e.g. "deployments.v1.apps" or "seldondeployments.v1.machinelearning.seldon.io"

0 commit comments

Comments
 (0)