Skip to content

Commit

Permalink
cleanup info logs in event recorder and test script (aws#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
sushrk committed Jul 27, 2022
1 parent 2e9f878 commit fbb3c6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/utils/eventrecorder/eventrecorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func InitEventRecorder(k8sClient client.Client) error {
})
recorder.k8sClient = k8sClient
eventRecorder = recorder
log.Infof("eventrecoder set:", eventRecorder.recorder)
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/update-cni-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit fbb3c6d

Please sign in to comment.