comparison pkg/scheduler/boot.go @ 1652:f39957ea08aa

Scheduled imports: The configuration id is not optional as it used to load the concrete configuration from the database.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 20 Dec 2018 17:23:54 +0100
parents 62171cd9a42b
children 85386ad17d34
comparison
equal deleted inserted replaced
1651:8a22d90fb961 1652:f39957ea08aa
61 &ba.Name, 61 &ba.Name,
62 &ba.Spec, 62 &ba.Spec,
63 ); err != nil { 63 ); err != nil {
64 return false, err 64 return false, err
65 } 65 }
66 ba.CfgID = &id 66 ba.CfgID = id
67 return true, nil 67 return true, nil
68 }) 68 })
69 if err != nil { 69 if err != nil {
70 return err 70 return err
71 } 71 }