From 8dfa29bed4bab782760cd5c74dd682ff54481c9a Mon Sep 17 00:00:00 2001 From: Ziv Nevo Date: Thu, 25 Jul 2024 13:17:26 +0300 Subject: [PATCH] Tiny fix Signed-off-by: Ziv Nevo --- tests/e2e/k8s/util/k8s_yaml.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/k8s/util/k8s_yaml.go b/tests/e2e/k8s/util/k8s_yaml.go index 61ea74a4..d7eafb70 100644 --- a/tests/e2e/k8s/util/k8s_yaml.go +++ b/tests/e2e/k8s/util/k8s_yaml.go @@ -75,8 +75,8 @@ func (f *Fabric) generateK8SYAML(p *peer, cfg *PeerConfig) (string, error) { Namespace: f.namespace, Tag: "latest", PeerLabels: map[string]string{ - "cluster": p.cluster.name, - "ip": p.cluster.ip, + ClusterNameLabel: p.cluster.name, + PeerIPLabel: p.cluster.ip, }, }) if err != nil {