Remove incorrect comment
This commit is contained in:
parent
bd4eda0b05
commit
0a8c49f36b
|
@ -375,7 +375,6 @@ func (s *StateStore) ChildJobs(id string) (memdb.ResultIterator, error) {
|
|||
func (s *StateStore) JobsByPeriodic(periodic bool) (memdb.ResultIterator, error) {
|
||||
txn := s.db.Txn(false)
|
||||
|
||||
// Scan all jobs whose parent is the passed id.
|
||||
iter, err := txn.Get("jobs", "periodic", periodic)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue