fixes issue #2832
This commit is contained in:
parent
de8f7e41d7
commit
807738d597
2 changed files with 2 additions and 2 deletions
|
@ -465,7 +465,7 @@ func (m *Manager) Watch(ctx context.Context, id int64) (bool, error) {
|
|||
// the database to see if the stage is complete. If
|
||||
// complete, return true.
|
||||
stage, err := m.Stages.Find(ctx, id)
|
||||
if err == nil {
|
||||
if err != nil {
|
||||
logger := logrus.WithError(err)
|
||||
logger = logger.WithField("step-id", id)
|
||||
logger.Warnln("manager: cannot find stage")
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
// +build oss
|
||||
|
||||
package converter
|
||||
package validator
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
Loading…
Reference in a new issue