Fix lint and fmt errors.

This commit is contained in:
Will Rouesnel 2018-04-15 22:54:13 +10:00
parent d5caaf5a4d
commit 2db74865b1
2 changed files with 2 additions and 4 deletions

View File

@ -133,10 +133,8 @@ func (s *pgSetting) normaliseUnit() (val float64, unit string, err error) {
val *= math.Pow(2, 15)
case "16MB":
val *= math.Pow(2, 24)
}
case "32MB":
val *= math.Pow(2, 25)
}
case "64MB":
val *= math.Pow(2, 26)
}