From 5518cd2194be73577d95e746fd8f3652169dd6a5 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 2 Mar 2018 12:42:46 -0500 Subject: Fix SQL syntax error Signed-off-by: Matthew Heon Closes: #440 Approved by: baude --- libpod/sql_state_internal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod') diff --git a/libpod/sql_state_internal.go b/libpod/sql_state_internal.go index 2fb00c3dd..fdde45632 100644 --- a/libpod/sql_state_internal.go +++ b/libpod/sql_state_internal.go @@ -277,7 +277,7 @@ func prepareDB(db *sql.DB) (err error) { NetNSPath TEXT NOT NULL, ExecSessions TEXT NOT NULL, IPs TEXT NOT NULL, - Routes TEXT NOT NULL. + Routes TEXT NOT NULL, CHECK (State>0), CHECK (OomKilled IN (0, 1)), -- cgit v1.2.3-54-g00ecf