mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 09:25:43 +00:00
The current code modifies a global variable which works but is bad
design since it could be uses elsewhere. Since we just exit after the df
command this is not an issue right now but it could become one in the
future.
A better fix is to implement a custom `MarshalJSON()` method on the
struct which will be called if this struct will be marshaled.
[NO NEW TESTS NEEDED]
Fixes some changes from
|
||
|---|---|---|
| .. | ||
| connection | ||
| connection.go | ||
| context.go | ||
| df.go | ||
| dial_stdio.go | ||
| events.go | ||
| info.go | ||
| migrate.go | ||
| prune.go | ||
| renumber.go | ||
| reset.go | ||
| reset_machine.go | ||
| reset_machine_unsupported.go | ||
| service.go | ||
| service_abi.go | ||
| system.go | ||
| unshare.go | ||
| version.go | ||