Browse Source

Merge pull request #3291 from yichengq/auth-cap

etcdhttp: add auth capability in 2.2
Yicheng Qin 10 years ago
parent
commit
394894e03e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      etcdserver/etcdhttp/capability.go

+ 1 - 0
etcdserver/etcdhttp/capability.go

@@ -22,6 +22,7 @@ var (
 	// the base capabilities is the set of capability 2.0 supports.
 	capabilityMaps = map[string]map[capability]bool{
 		"2.1.0": {authCapability: true},
+		"2.2.0": {authCapability: true},
 	}
 
 	enableMapMu sync.Mutex