diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-17 23:06:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 23:06:39 +0000 |
commit | 1f0c3d52628e7c5b22ee500194155bdd20ad271f (patch) | |
tree | 1a311e7398ccb5c58e93c4f10d55f642e356b737 | |
parent | f63da351f2be70a8d39dfed9554371f27e1780a1 (diff) | |
parent | aa197a65ff245f4d244968fd6010537a76a42e10 (diff) | |
download | podman-1f0c3d52628e7c5b22ee500194155bdd20ad271f.tar.gz podman-1f0c3d52628e7c5b22ee500194155bdd20ad271f.tar.bz2 podman-1f0c3d52628e7c5b22ee500194155bdd20ad271f.zip |
Merge pull request #15368 from m0duspwnens/api_sort_hc_binds
sort hc.Binds returned from compat api
-rw-r--r-- | pkg/api/handlers/compat/containers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/containers.go b/pkg/api/handlers/compat/containers.go index ae063dc9f..0b82c48f6 100644 --- a/pkg/api/handlers/compat/containers.go +++ b/pkg/api/handlers/compat/containers.go @@ -467,6 +467,7 @@ func LibpodToContainerJSON(l *libpod.Container, sz bool) (*types.ContainerJSON, if err := json.Unmarshal(h, &hc); err != nil { return nil, err } + sort.Strings(hc.Binds) // k8s-file == json-file if hc.LogConfig.Type == define.KubernetesLogging { |