diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-12 09:05:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 09:05:03 -0700 |
commit | 38c4b9bcc0296a1fe7efc5bb6058e8aaa5ecae6f (patch) | |
tree | 7964cf7e1dd1ed54c58bd7b30dcd80bbdbfcc752 /pkg/domain/infra | |
parent | d6d94cfdd7104c036e7def993f22abb962c5762a (diff) | |
parent | 03c29c357fb21d69ed878dcfea29f99c7a369f25 (diff) | |
download | podman-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.go | 2 |
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 { |