Browse Source

*: update feature maps to adopt v2.3.0

Yicheng Qin 10 years ago
parent
commit
ec3c2d23a3
2 changed files with 2 additions and 0 deletions
  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},
 	}
 )