|
@@ -38,7 +38,7 @@ type scheduledJob struct {
|
|
|
func (s scheduledJob) run() {
|
|
|
logContext := log.WithFields(log.Fields{
|
|
|
"Func": "Run()",
|
|
|
- "package": "schedular",
|
|
|
+ "package": "scheduler",
|
|
|
})
|
|
|
|
|
|
//logContext := log.WithField("Func", "Run")
|
|
@@ -65,7 +65,7 @@ func (s scheduledJob) run() {
|
|
|
func (s scheduledJob) Start() {
|
|
|
logContext := log.WithFields(log.Fields{
|
|
|
"Func": "Start()",
|
|
|
- "package": "schedular",
|
|
|
+ "package": "scheduler",
|
|
|
})
|
|
|
|
|
|
logContext.Debug("Getting lock")
|
|
@@ -82,7 +82,7 @@ func (s scheduledJob) Start() {
|
|
|
func (s scheduledJob) Stop() {
|
|
|
logContext := log.WithFields(log.Fields{
|
|
|
"Func": "Stop()",
|
|
|
- "package": "schedular",
|
|
|
+ "package": "scheduler",
|
|
|
})
|
|
|
|
|
|
logContext.Debug("Getting lock")
|