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

*: update feature maps to adopt v2.3.0

Yicheng Qin преди 10 години
родител
ревизия
ec3c2d23a3
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      etcdserver/etcdhttp/capability.go
  2. 1 0
      rafthttp/stream.go

+ 1 - 0
etcdserver/etcdhttp/capability.go

@@ -37,6 +37,7 @@ var (
 	capabilityMaps = map[string]map[capability]bool{
 		"2.1.0": {authCapability: true},
 		"2.2.0": {authCapability: true},
+		"2.3.0": {authCapability: true},
 	}
 
 	enableMapMu sync.Mutex

+ 1 - 0
rafthttp/stream.go

@@ -48,6 +48,7 @@ var (
 		"2.0.0": {},
 		"2.1.0": {streamTypeMsgAppV2, streamTypeMessage},
 		"2.2.0": {streamTypeMsgAppV2, streamTypeMessage},
+		"2.3.0": {streamTypeMsgAppV2, streamTypeMessage},
 	}
 )