Skip to content

Commit 4ae274a

Browse files
committed
fix: go demo request sender
1 parent 1af0461 commit 4ae274a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mse-go-quickstart-demo/RequestSender/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: request-sender
17-
image: registry.cn-hangzhou.aliyuncs.com/mse-governance-demo/request-sender:1.0
17+
image: registry.cn-hangzhou.aliyuncs.com/mse-governance-demo/requestsender:1.0
1818
imagePullPolicy: Always
1919
ports:
2020
- containerPort: 8080

mse-go-quickstart-demo/RequestSender/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func doHttpRequest() {
3434
targetDomain = lbDomain
3535
}
3636

37-
req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://%s/greet1?name=coder", targetDomain), nil)
37+
req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://%s/greet1a?name=coder", targetDomain), nil)
3838
if err != nil {
3939
fmt.Printf("[doHttpRequest] new request err: %v\n", err)
4040
continue

0 commit comments

Comments
 (0)