summaryrefslogtreecommitdiff
path: root/libpod/sql_state_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-07 14:57:29 -0500
committerMatthew Heon <matthew.heon@gmail.com>2017-11-18 12:54:05 -0500
commitcb56716fc4bb632db84fab372fff8f5a9007ed3f (patch)
treecb387412db9b9233de3a8c7e9861ef8463c79030 /libpod/sql_state_internal.go
parentc6fe4430b76ceeecd6b0b609cca8e705921db0c4 (diff)
downloadpodman-cb56716fc4bb632db84fab372fff8f5a9007ed3f.tar.gz
podman-cb56716fc4bb632db84fab372fff8f5a9007ed3f.tar.bz2
podman-cb56716fc4bb632db84fab372fff8f5a9007ed3f.zip
Address review comments, fix gofmt and lint
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/sql_state_internal.go')
-rw-r--r--libpod/sql_state_internal.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/sql_state_internal.go b/libpod/sql_state_internal.go
index 2597c4bb9..3f5f695bb 100644
--- a/libpod/sql_state_internal.go
+++ b/libpod/sql_state_internal.go
@@ -7,10 +7,12 @@ import (
"path/filepath"
"time"
- _ "github.com/mattn/go-sqlite3"
spec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
+
+ // Use SQLite backend for sql package
+ _ "github.com/mattn/go-sqlite3"
)
// Performs database setup including by not limited to initializing tables in