diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-11 02:25:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 02:25:41 -0800 |
commit | 26f2b7debde313af4a5ae39727c66a3f8fd59be4 (patch) | |
tree | 1ab2968feabc60768ac04c7f832ddfb93f97e3ad /libpod/boltdb_state.go | |
parent | 36d96c19f947aeac2675afe64a3b482e54f9e4c4 (diff) | |
parent | 3966d3bf4e6be2975c330af64ce6ba86b4eeabe0 (diff) | |
download | podman-26f2b7debde313af4a5ae39727c66a3f8fd59be4.tar.gz podman-26f2b7debde313af4a5ae39727c66a3f8fd59be4.tar.bz2 podman-26f2b7debde313af4a5ae39727c66a3f8fd59be4.zip |
Merge pull request #2105 from mheon/jsoniter
Use jsoniter instead of easyjson
Diffstat (limited to 'libpod/boltdb_state.go')
-rw-r--r-- | libpod/boltdb_state.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index b154d8bda..e7a07a9a8 100644 --- a/libpod/boltdb_state.go +++ b/libpod/boltdb_state.go @@ -2,15 +2,17 @@ package libpod import ( "bytes" - "encoding/json" "strings" "sync" "github.com/boltdb/bolt" + jsoniter "github.com/json-iterator/go" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) +var json = jsoniter.ConfigCompatibleWithStandardLibrary + // BoltState is a state implementation backed by a Bolt DB type BoltState struct { valid bool |