summaryrefslogtreecommitdiff
path: root/libpod/sql_state_internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/sql_state_internal.go')
-rw-r--r--libpod/sql_state_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/sql_state_internal.go b/libpod/sql_state_internal.go
index 6f0e2284c..5fd6e23a3 100644
--- a/libpod/sql_state_internal.go
+++ b/libpod/sql_state_internal.go
@@ -620,7 +620,7 @@ func (s *SQLState) ctrFromScannable(row scannable) (*Container, error) {
return nil, errors.Wrapf(err, "error parsing container %s DNS server JSON", id)
}
- ctr.state.ExecSessions = make(map[string]int)
+ ctr.state.ExecSessions = make(map[string]*ExecSession)
if err := json.Unmarshal([]byte(execSessions), &ctr.state.ExecSessions); err != nil {
return nil, errors.Wrapf(err, "error parsing container %s exec sessions JSON", id)
}