Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
fixed typo,weigth-->weight
  • Loading branch information
anakin committed Jun 9, 2019
1 parent 2dfe995 commit 9a60a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions naming/naming.go
Expand Up @@ -110,8 +110,8 @@ func (insInf *InstancesInfo) UseScheduler(zone string) (inss []*Instance) {
return
}
var comMulti int64 = 1
for _, weigth := range oriWeights {
comMulti *= weigth
for _, weight := range oriWeights {
comMulti *= weight
}
var fixWeight = make(map[string]int64, len(scheduler.weights))
for i, zone := range scheduler.zone {
Expand Down

0 comments on commit 9a60a0b

Please sign in to comment.