Fix SQL syntax error

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #440
Approved by: baude
This commit is contained in:
Matthew Heon
2018-03-02 12:42:46 -05:00
committed by Atomic Bot
parent d1abdebdcd
commit 5518cd2194

View File

@ -277,7 +277,7 @@ func prepareDB(db *sql.DB) (err error) {
NetNSPath TEXT NOT NULL, NetNSPath TEXT NOT NULL,
ExecSessions TEXT NOT NULL, ExecSessions TEXT NOT NULL,
IPs TEXT NOT NULL, IPs TEXT NOT NULL,
Routes TEXT NOT NULL. Routes TEXT NOT NULL,
CHECK (State>0), CHECK (State>0),
CHECK (OomKilled IN (0, 1)), CHECK (OomKilled IN (0, 1)),