mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3291 from yichengq/auth-cap
etcdhttp: add auth capability in 2.2
This commit is contained in:
commit
394894e03e
@ -22,6 +22,7 @@ var (
|
|||||||
// the base capabilities is the set of capability 2.0 supports.
|
// the base capabilities is the set of capability 2.0 supports.
|
||||||
capabilityMaps = map[string]map[capability]bool{
|
capabilityMaps = map[string]map[capability]bool{
|
||||||
"2.1.0": {authCapability: true},
|
"2.1.0": {authCapability: true},
|
||||||
|
"2.2.0": {authCapability: true},
|
||||||
}
|
}
|
||||||
|
|
||||||
enableMapMu sync.Mutex
|
enableMapMu sync.Mutex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user