diff --git a/pkg/utils/eventrecorder/eventrecorder.go b/pkg/utils/eventrecorder/eventrecorder.go index c0668d16c1..9ebe831bc5 100644 --- a/pkg/utils/eventrecorder/eventrecorder.go +++ b/pkg/utils/eventrecorder/eventrecorder.go @@ -64,7 +64,6 @@ func InitEventRecorder(k8sClient client.Client) error { }) recorder.k8sClient = k8sClient eventRecorder = recorder - log.Infof("eventrecoder set:", eventRecorder.recorder) return nil } diff --git a/scripts/update-cni-images.sh b/scripts/update-cni-images.sh index 8415c785b9..2b7579d3d0 100755 --- a/scripts/update-cni-images.sh +++ b/scripts/update-cni-images.sh @@ -14,7 +14,7 @@ AWS_K8S_CNI_MANIFEST="$SCRIPTS_DIR/../config/master/aws-k8s-cni.yaml" MANIFEST_IMG_VERSION=`grep "image:" $AWS_K8S_CNI_MANIFEST | cut -d ":" -f3 | cut -d "\"" -f1 | head -1` # Replace the images in aws-k8s-cni.yaml with the tester images -echo "Replacing images in aws-k8s-cni manifest with \$AMAZON_K8S_CNI and \$AMAZON_K8S_CNI_INIT" +echo "Replacing images in aws-k8s-cni manifest with $AMAZON_K8S_CNI and $AMAZON_K8S_CNI_INIT" sed -i'.bak' "s,602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:$MANIFEST_IMG_VERSION,$AMAZON_K8S_CNI," "$AWS_K8S_CNI_MANIFEST" sed -i'.bak' "s,602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:$MANIFEST_IMG_VERSION,$AMAZON_K8S_CNI_INIT," "$AWS_K8S_CNI_MANIFEST"