Remove incorrect comment

This commit is contained in:
Alex Dadgar 2015-12-11 15:15:28 -08:00
parent bd4eda0b05
commit 0a8c49f36b
1 changed files with 0 additions and 1 deletions

View File

@ -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