diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-03-02 12:42:46 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-02 19:20:26 +0000 |
commit | 5518cd2194be73577d95e746fd8f3652169dd6a5 (patch) | |
tree | 2bb62a35699cdade065ecbb072489e439ccf2828 /libpod | |
parent | d1abdebdcdcabbe5f702a31a1958ed1235839db9 (diff) | |
download | podman-5518cd2194be73577d95e746fd8f3652169dd6a5.tar.gz podman-5518cd2194be73577d95e746fd8f3652169dd6a5.tar.bz2 podman-5518cd2194be73577d95e746fd8f3652169dd6a5.zip |
Fix SQL syntax error
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #440
Approved by: baude
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/sql_state_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)), |