Fix NewHost bug introduced in #312 (#317)

This commit is contained in:
Zachary Wasserman 2016-10-16 07:56:20 -04:00 committed by GitHub
parent 4100eea2a8
commit 1597ad23a4

View file

@ -19,6 +19,7 @@ func (orm *inmem) NewHost(host *kolide.Host) (*kolide.Host, error) {
}
host.ID = orm.nextID(host)
orm.hosts[host.ID] = host
return host, nil
}