Преглед изворни кода

chore: remove duplicate word in comments (#3081)

Abirdcfly пре 2 година
родитељ
комит
ba492f07c3
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      README.md
  2. 1 1
      test/e2e/framework/log.go

+ 1 - 1
README.md

@@ -883,7 +883,7 @@ custom_domains = test.example.com
 host_header_rewrite = dev.example.com
 ```
 
-The HTTP request will have the the `Host` header rewritten to `Host: dev.example.com` when it reaches the actual web server, although the request from the browser probably has `Host: test.example.com`.
+The HTTP request will have the `Host` header rewritten to `Host: dev.example.com` when it reaches the actual web server, although the request from the browser probably has `Host: test.example.com`.
 
 ### Setting other HTTP Headers
 

+ 1 - 1
test/e2e/framework/log.go

@@ -68,7 +68,7 @@ func PrunedStack(skip int) []byte {
 	fullStackTrace := debug.Stack()
 	stack := bytes.Split(fullStackTrace, []byte("\n"))
 	// Ensure that the even entries are the method names and the
-	// the odd entries the source code information.
+	// odd entries the source code information.
 	if len(stack) > 0 && bytes.HasPrefix(stack[0], []byte("goroutine ")) {
 		// Ignore "goroutine 29 [running]:" line.
 		stack = stack[1:]