Skip to content

Commit

Permalink
Remove unused leaderElectionTypeConfigMaps const
Browse files Browse the repository at this point in the history
this is a left over const value from the leaderelection
type cleanup.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Jan 21, 2020
1 parent 26d9e9b commit 7df1f23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/csi-attacher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ const (
// Default timeout of short CSI calls like GetPluginInfo
csiTimeout = time.Second

leaderElectionTypeLeases = "leases"
leaderElectionTypeConfigMaps = "configmaps"
leaderElectionTypeLeases = "leases"
)

// Command line flags
Expand Down

0 comments on commit 7df1f23

Please sign in to comment.