Browse Source

Merge pull request #4341 from shawnps/patch-4

rafthttp: fix typo in test comment
Xiang Li 10 years ago
parent
commit
6c451a44ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rafthttp/http_test.go

+ 1 - 1
rafthttp/http_test.go

@@ -254,7 +254,7 @@ func TestServeRaftStreamPrefixBad(t *testing.T) {
 			"1",
 			"1",
 			http.StatusNotFound,
 			http.StatusNotFound,
 		},
 		},
-		// non-existant peer
+		// non-existent peer
 		{
 		{
 			"GET",
 			"GET",
 			RaftStreamPrefix + "/message/2",
 			RaftStreamPrefix + "/message/2",