summaryrefslogtreecommitdiff
path: root/libpod/sql_state_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-02-07 15:31:09 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-09 15:01:34 +0000
commit86d549f2cdaf22e07017d04c9eb0afbbf4475934 (patch)
tree228167ac26e3ac88cfb82ef3c00b1e971bec8968 /libpod/sql_state_internal.go
parent19840e0b3d3f3e4389152c8e96cfe92f68d024eb (diff)
downloadpodman-86d549f2cdaf22e07017d04c9eb0afbbf4475934.tar.gz
podman-86d549f2cdaf22e07017d04c9eb0afbbf4475934.tar.bz2
podman-86d549f2cdaf22e07017d04c9eb0afbbf4475934.zip
Fix gofmt and lint
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
Diffstat (limited to 'libpod/sql_state_internal.go')
-rw-r--r--libpod/sql_state_internal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/sql_state_internal.go b/libpod/sql_state_internal.go
index 5a1b68615..5bc2d84f5 100644
--- a/libpod/sql_state_internal.go
+++ b/libpod/sql_state_internal.go
@@ -37,6 +37,7 @@ const (
FROM containers
INNER JOIN
containerState ON containers.Id = containerState.Id `
+ // ExistsQuery is a query to check if a pod exists
ExistsQuery = "SELECT 1 FROM pods WHERE Id=?;"
)