mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #15368 from m0duspwnens/api_sort_hc_binds
sort hc.Binds returned from compat api
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user