Default datasource and event system test

This commit is contained in:
Torkel Ödegaard
2015-01-09 11:01:37 +01:00
parent f99e1ba441
commit d562dcd90c
7 changed files with 140 additions and 97 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ func AddDataSource(cmd *m.AddDataSourceCommand) error {
Updated: time.Now(),
}
_, err = sess.Insert(ds)
_, err = sess.Insert(&ds)
cmd.Result = &ds
return err
})