Files
podman/libpod
Dan Čermák dd4f47dd98 Always show RemoteSocket.Exists in json
The `Exists` field of the `RemoteSocket` struct is marshaled to json with the
`omitempty` setting. This has the disadvantage that by default `podman info`
shows a `remotePath` entry (the remote path is set in
`pkg/domain/infra/abi/systems.go`: `(*ContainerEngine).Info`) but not that this
path does not exist:
```
❯ podman info --format json | jq .host.remoteSocket
{
  "path": "/run/user/1000/podman/podman.sock"
}
```

By removing the `omitempty`, we ensure that the existence is always shown:
```
❯ bin/podman info --format json | jq .host.remoteSocket
{
  "path": "/run/user/1000/podman/podman.sock",
  "exists": false
}
```

Signed-off-by: Dan Čermák <dcermak@suse.com>
2023-08-04 16:24:58 +02:00
..
2022-01-18 12:47:07 +01:00
2017-11-01 11:24:59 -04:00
2022-10-17 09:19:41 +02:00
2023-02-28 13:45:36 -05:00
2022-01-18 12:47:07 +01:00
2023-07-25 11:17:44 +02:00
2023-07-31 09:38:46 -04:00
2022-09-10 07:52:00 -04:00
2022-04-25 13:23:20 +02:00
2022-09-01 13:02:01 -04:00
2022-10-17 09:19:41 +02:00
2022-01-18 12:47:07 +01:00
2023-05-02 10:29:58 -04:00
2023-05-25 14:46:34 +02:00
2023-06-19 14:31:40 +02:00
2022-01-18 12:47:07 +01:00