Skip to content

Commit

Permalink
api: update capability map
Browse files Browse the repository at this point in the history
  • Loading branch information
xiang90 committed Sep 16, 2016
1 parent 2724c39 commit c6feb69
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 c6feb69

Please sign in to comment.