summaryrefslogtreecommitdiff
path: root/libpod/sql_state.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-12-11 13:12:43 -0500
committerGitHub <noreply@github.com>2017-12-11 13:12:43 -0500
commitb85d0fa4ea5b6515088a3475a56a44c0cee5bfc5 (patch)
tree2ad27b4463658539257233963ae6a9c7dc38c168 /libpod/sql_state.go
parent12682aa475db17d99eb0cfc5efad20e1b9f3685f (diff)
parent622d5e3b9a09a41f4367d8e038621e3fcbf5c7c7 (diff)
downloadpodman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.tar.gz
podman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.tar.bz2
podman-b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.zip
Merge pull request #112 from umohnani8/kpod_load
Fix misleading print statement in kpod load
Diffstat (limited to 'libpod/sql_state.go')
-rw-r--r--libpod/sql_state.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/sql_state.go b/libpod/sql_state.go
index 36114e9cc..02cbd63d8 100644
--- a/libpod/sql_state.go
+++ b/libpod/sql_state.go
@@ -105,9 +105,6 @@ func (s *SQLState) Refresh() (err error) {
Mountpoint=?,
Pid=?;`
- s.lock.Lock()
- defer s.lock.Unlock()
-
if !s.valid {
return ErrDBClosed
}