summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-12 09:05:03 -0700
committerGitHub <noreply@github.com>2020-05-12 09:05:03 -0700
commit38c4b9bcc0296a1fe7efc5bb6058e8aaa5ecae6f (patch)
tree7964cf7e1dd1ed54c58bd7b30dcd80bbdbfcc752 /pkg/domain/infra
parentd6d94cfdd7104c036e7def993f22abb962c5762a (diff)
parent03c29c357fb21d69ed878dcfea29f99c7a369f25 (diff)
downloadpodman-38c4b9bcc0296a1fe7efc5bb6058e8aaa5ecae6f.tar.gz
podman-38c4b9bcc0296a1fe7efc5bb6058e8aaa5ecae6f.tar.bz2
podman-38c4b9bcc0296a1fe7efc5bb6058e8aaa5ecae6f.zip
Merge pull request #6182 from baude/v2remotedf
add podman remote system df
Diffstat (limited to 'pkg/domain/infra')
-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 {