aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/system.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-05-11 15:13:32 -0500
committerBrent Baude <bbaude@redhat.com>2020-05-12 08:35:48 -0500
commit03c29c357fb21d69ed878dcfea29f99c7a369f25 (patch)
tree210f2309a7fe54ff56a7ac4d3cb3ad96e999c948 /pkg/domain/infra/tunnel/system.go
parent07f775d161ef642cbbe5dc98071aa04d9312b17e (diff)
downloadpodman-03c29c357fb21d69ed878dcfea29f99c7a369f25.tar.gz
podman-03c29c357fb21d69ed878dcfea29f99c7a369f25.tar.bz2
podman-03c29c357fb21d69ed878dcfea29f99c7a369f25.zip
add podman remote system df
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/system.go')
-rw-r--r--pkg/domain/infra/tunnel/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/system.go b/pkg/domain/infra/tunnel/system.go
index b1be28e04..829af31f6 100644
--- a/pkg/domain/infra/tunnel/system.go
+++ b/pkg/domain/infra/tunnel/system.go
@@ -33,7 +33,7 @@ func (ic *SystemEngine) Reset(ctx context.Context) error {
}
func (ic *ContainerEngine) SystemDf(ctx context.Context, options entities.SystemDfOptions) (*entities.SystemDfReport, error) {
- panic(errors.New("system df is not supported on remote clients"))
+ return system.DiskUsage(ic.ClientCxt)
}
func (ic *ContainerEngine) Unshare(ctx context.Context, args []string) error {