From 088a58de118729ad7067a83e5e4b172252699fd9 Mon Sep 17 00:00:00 2001 From: Tanmay Jain Date: Thu, 12 Sep 2024 12:44:50 +0530 Subject: [PATCH] addressing comment --- api/v1/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/utils.go b/api/v1/utils.go index e07febf1..f69f92a0 100644 --- a/api/v1/utils.go +++ b/api/v1/utils.go @@ -75,7 +75,7 @@ const ( AerospikeInitContainerNameTagEnvVar = "AEROSPIKE_KUBERNETES_INIT_NAME_TAG" AerospikeInitContainerDefaultRegistry = "docker.io" AerospikeInitContainerDefaultRegistryNamespace = "aerospike" - AerospikeInitContainerDefaultRepoAndTag = "aerospike-kubernetes-init:2.2.1" + AerospikeInitContainerDefaultNameAndTag = "aerospike-kubernetes-init:2.2.1" AerospikeAppLabel = "app" AerospikeAppLabelValue = "aerospike-cluster" AerospikeCustomResourceLabel = "aerospike.com/cr" @@ -136,7 +136,7 @@ func GetAerospikeInitContainerImage(aeroCluster *AerospikeCluster) string { AerospikeInitContainerDefaultRegistry) namespace := getInitContainerImageRegistryNamespace(aeroCluster) repoAndTag := getInitContainerImageValue(aeroCluster, AerospikeInitContainerNameTagEnvVar, - AerospikeInitContainerDefaultRepoAndTag) + AerospikeInitContainerDefaultNameAndTag) return getInitContainerImage(registry, namespace, repoAndTag) }