mirror of
https://github.com/foomo/shop.git
synced 2025-10-16 12:35:39 +00:00
Reduce logging of state machine
This commit is contained in:
parent
0ba998d46c
commit
b8855a3eda
@ -2,7 +2,6 @@ package state
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/foomo/shop/utils"
|
||||
@ -115,7 +114,7 @@ func (sm *StateMachine) transitionToState(currentState *State, targetState strin
|
||||
return err
|
||||
}
|
||||
*currentState = *state
|
||||
log.Println("StateMachine - New current State: ", currentState.Key)
|
||||
//log.Println("StateMachine - New current State: ", currentState.Key)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user