2
0
mirror of https://github.com/etcd-io/etcd.git synced 2024-09-27 06:25:44 +00:00

Merge pull request from yichengq/auth-cap

etcdhttp: add auth capability in 2.2
This commit is contained in:
Yicheng Qin 2015-08-13 15:01:59 -07:00
commit 394894e03e

@ -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