wanted to make sure the log is with the atest version

This commit is contained in:
Radu Ioan Fericean
2013-08-22 16:21:12 +03:00
parent c2913b6fe9
commit 09bbf2af8f
2 changed files with 2 additions and 2 deletions

View File

@@ -338,7 +338,7 @@ func TestActionTimingOneTimeRun(t *testing.T) {
func TestActionTimingLogFunction(t *testing.T) {
a := &Action{
ActionType: "LOG",
ActionType: "*log",
BalanceId: "test",
Units: 1.1,
MinuteBucket: &MinuteBucket{},

View File

@@ -582,7 +582,7 @@ func (mb *MinuteBucket) Store() (result string, err error) {
func (mb *MinuteBucket) Restore(input string) error {
elements := strings.Split(strings.TrimSpace(input), ";")
if len(elements) > 0 && len(elements) != 5 {
return notEnoughElements("MinuteBucket", input)
return notEnoughElements("MinuteBucket!!", input)
}
mb.Seconds, _ = strconv.ParseFloat(elements[0], 64)
mb.Weight, _ = strconv.ParseFloat(elements[1], 64)