Skip to content

Commit

Permalink
Merge pull request #17190 from vrothberg/ps-optimizations
Browse files Browse the repository at this point in the history
ps: do not create copy of container config
  • Loading branch information
openshift-merge-robot authored Jan 23, 2023
2 parents 9e8194f + 5925fe1 commit ebc754f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ps/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities
}
}

conConfig = c.Config()
conConfig = c.ConfigNoCopy()
conState, err = c.State()
if err != nil {
return fmt.Errorf("unable to obtain container state: %w", err)
Expand Down

0 comments on commit ebc754f

Please sign in to comment.