Skip to content

Commit 0f422cb

Browse files
committed
misspelled words
1 parent 51d029b commit 0f422cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xa/services/cmd/api/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ func main() {
2020
if err != nil || resp1.StatusCode != 200 {
2121
// log.Printf("call customer service error tid=%s status code=%d", tid, resp1.StatusCode)
2222
rollback(tid)
23-
rw.Write([]byte("faild"))
23+
rw.Write([]byte("failed"))
2424
return
2525
}
2626

2727
// call merchant
2828
resp2, err := http.Get("http://merchant:5000/add?tid=" + tid)
2929
if err != nil || resp2.StatusCode != 200 {
3030
rollback(tid)
31-
rw.Write([]byte("faild"))
31+
rw.Write([]byte("failed"))
3232
return
3333
}
3434

0 commit comments

Comments
 (0)