formatted code.
This commit is contained in:
parent
5a6edb802e
commit
5128c51b22
6 changed files with 10 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
package mesosUtils
|
||||
|
||||
import (
|
||||
mesos "github.com/mesos/mesos-go/mesosproto"
|
||||
"github.com/golang/protobuf/proto"
|
||||
mesos "github.com/mesos/mesos-go/mesosproto"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -32,7 +32,7 @@ func getInstance(curSum float64, wSize int) *runningAverageCalculator {
|
|||
if racSingleton == nil {
|
||||
racSingleton = &runningAverageCalculator{
|
||||
considerationWindowSize: wSize,
|
||||
currentSum: curSum,
|
||||
currentSum: curSum,
|
||||
}
|
||||
return racSingleton
|
||||
} else {
|
||||
|
|
Reference in a new issue