Skip to content

Commit

Permalink
Merge pull request #6447 from xiang90/cap
Browse files Browse the repository at this point in the history
api: update capability map
  • Loading branch information
xiang90 authored Sep 16, 2016
2 parents d6904ce + c6feb69 commit 143e2f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions etcdserver/api/capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ var (
// capabilityMaps is a static map of version to capability map.
// 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},
"2.3.0": {AuthCapability: true},
"3.0.0": {AuthCapability: true, V3rpcCapability: true},
"3.1.0": {AuthCapability: true, V3rpcCapability: true},
}

enableMapMu sync.RWMutex
Expand Down

0 comments on commit 143e2f2

Please sign in to comment.