Add in devices_table to store device information (#118)

This commit is contained in:
Kegsay 2017-05-25 13:33:50 +01:00 committed by GitHub
parent e6835660b0
commit 445dce14ae
8 changed files with 208 additions and 12 deletions

View file

@ -86,7 +86,7 @@ func main() {
if err != nil {
log.Panicf("Failed to setup account database(%s): %s", accountDataSource, err.Error())
}
deviceDB, err := devices.NewDatabase(accountDataSource)
deviceDB, err := devices.NewDatabase(accountDataSource, serverName)
if err != nil {
log.Panicf("Failed to setup device database(%s): %s", accountDataSource, err.Error())
}