diff --git a/controllers/debug/register.go b/controllers/debug/register.go index 1770de9aa..d954c95c3 100644 --- a/controllers/debug/register.go +++ b/controllers/debug/register.go @@ -54,7 +54,7 @@ func RegisterEndpoint(register func(string, http.Handler) error, options *Option } } if options.Symbol { - err := register("/debug/pprof/symobol", http.HandlerFunc(pprof.Symbol)) + err := register("/debug/pprof/symbol", http.HandlerFunc(pprof.Symbol)) if err != nil { return err } diff --git a/test/README.md b/test/README.md index d01a8a331..4bcfbe916 100644 --- a/test/README.md +++ b/test/README.md @@ -21,7 +21,7 @@ resources are then created in that new namespace: 1. Operator/Deployment The tests are then run within the scope/context of the TestEnv object. Resources used by the tests are scoped to the -TestEnv object (ie Kubernetes namespace). When the tests are completed, the TestEnv object is destroyed and the +TestEnv object (i.e Kubernetes namespace). When the tests are completed, the TestEnv object is destroyed and the resources within are deleted. ### Deployment @@ -98,7 +98,7 @@ it is best to copy an existing test spec file in that suite and modified it. ### Add a new test suite -1. If you are adding a new test suite (ie you want to run the test in a separate TestEnv or k8s namespace), it is best to copy the test/example folder entirely and modify it +1. If you are adding a new test suite (i.e you want to run the test in a separate TestEnv or k8s namespace), it is best to copy the test/example folder entirely and modify it ## Notes diff --git a/test/deploy-eks-cluster.sh b/test/deploy-eks-cluster.sh index 0d0c96976..8bfb3997d 100755 --- a/test/deploy-eks-cluster.sh +++ b/test/deploy-eks-cluster.sh @@ -1,12 +1,12 @@ #!/bin/bash if [[ -z "${EKS_VPC_PUBLIC_SUBNET_STRING}" ]]; then - echo "EKS PUBLIC SUBNET STRING not set. Chaning to env.sh value" + echo "EKS PUBLIC SUBNET STRING not set. Changing to env.sh value" export EKS_VPC_PUBLIC_SUBNET_STRING="${VPC_PUBLIC_SUBNET_STRING}" fi if [[ -z "${EKS_VPC_PRIVATE_SUBNET_STRING}" ]]; then - echo "EKS PRIVATE SUBNET STRING not set. Chaning to env.sh value" + echo "EKS PRIVATE SUBNET STRING not set. Changing to env.sh value" export EKS_VPC_PRIVATE_SUBNET_STRING="${VPC_PRIVATE_SUBNET_STRING}" fi