Преглед на файлове

Merge pull request #6449 from gyuho/supported-stream

rafthttp: add v3.x to supported streams
Gyu-Ho Lee преди 9 години
родител
ревизия
5c2053109b
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      rafthttp/stream.go

+ 2 - 0
rafthttp/stream.go

@@ -49,6 +49,8 @@ var (
 		"2.1.0": {streamTypeMsgAppV2, streamTypeMessage},
 		"2.2.0": {streamTypeMsgAppV2, streamTypeMessage},
 		"2.3.0": {streamTypeMsgAppV2, streamTypeMessage},
+		"3.0.0": {streamTypeMsgAppV2, streamTypeMessage},
+		"3.1.0": {streamTypeMsgAppV2, streamTypeMessage},
 	}
 )