Skip to content

Commit 1a0d331

Browse files
patrykw-splunkPatryk Wasielewski
andauthored
Fix typo in pprof registered urls and in READMEs (#1427)
Co-authored-by: Patryk Wasielewski <[email protected]>
1 parent 57783d3 commit 1a0d331

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

controllers/debug/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func RegisterEndpoint(register func(string, http.Handler) error, options *Option
5454
}
5555
}
5656
if options.Symbol {
57-
err := register("/debug/pprof/symobol", http.HandlerFunc(pprof.Symbol))
57+
err := register("/debug/pprof/symbol", http.HandlerFunc(pprof.Symbol))
5858
if err != nil {
5959
return err
6060
}

test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resources are then created in that new namespace:
2121
1. Operator/Deployment
2222

2323
The tests are then run within the scope/context of the TestEnv object. Resources used by the tests are scoped to the
24-
TestEnv object (ie Kubernetes namespace). When the tests are completed, the TestEnv object is destroyed and the
24+
TestEnv object (i.e Kubernetes namespace). When the tests are completed, the TestEnv object is destroyed and the
2525
resources within are deleted.
2626

2727
### Deployment
@@ -98,7 +98,7 @@ it is best to copy an existing test spec file in that suite and modified it.
9898

9999
### Add a new test suite
100100

101-
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
101+
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
102102

103103
## Notes
104104

test/deploy-eks-cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

33
if [[ -z "${EKS_VPC_PUBLIC_SUBNET_STRING}" ]]; then
4-
echo "EKS PUBLIC SUBNET STRING not set. Chaning to env.sh value"
4+
echo "EKS PUBLIC SUBNET STRING not set. Changing to env.sh value"
55
export EKS_VPC_PUBLIC_SUBNET_STRING="${VPC_PUBLIC_SUBNET_STRING}"
66
fi
77

88
if [[ -z "${EKS_VPC_PRIVATE_SUBNET_STRING}" ]]; then
9-
echo "EKS PRIVATE SUBNET STRING not set. Chaning to env.sh value"
9+
echo "EKS PRIVATE SUBNET STRING not set. Changing to env.sh value"
1010
export EKS_VPC_PRIVATE_SUBNET_STRING="${VPC_PRIVATE_SUBNET_STRING}"
1111
fi
1212

0 commit comments

Comments
 (0)