summaryrefslogtreecommitdiff
path: root/libpod/sql_state.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/sql_state.go')
-rw-r--r--libpod/sql_state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/sql_state.go b/libpod/sql_state.go
index b3e531ba1..20aa7c0ac 100644
--- a/libpod/sql_state.go
+++ b/libpod/sql_state.go
@@ -338,7 +338,7 @@ func (s *SQLState) UpdateContainer(ctr *Container) error {
newState.IPAddress = ipAddress
newState.SubnetMask = subnetMask
- newState.ExecSessions = make(map[string]int)
+ newState.ExecSessions = make(map[string]*ExecSession)
if err := json.Unmarshal([]byte(execSessions), &newState.ExecSessions); err != nil {
return errors.Wrapf(err, "error parsing container %s exec sessions", ctr.ID())
}