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/container_internal_linux.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/container_internal_linux.go')
-rw-r--r-- | libpod/container_internal_linux.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 2f03d45ea..4f490bb88 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -4,7 +4,6 @@ package libpod import ( "context" - "encoding/json" "fmt" "io/ioutil" "net" @@ -491,7 +490,7 @@ func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointO // Save network.status. This is needed to restore the container with // the same IP. Currently limited to one IP address in a container // with one interface. - formatJSON, err := json.MarshalIndent(c.state.NetworkStatus, "", " ") + formatJSON, err := json.MarshalIndent(c.state.NetworkStatus, "", " ") if err != nil { return err } |