diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-06-27 17:55:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 17:55:19 +0000 |
commit | 9c4b8a29b06c179725983e7fa8fadf7ee68d9863 (patch) | |
tree | cd2aa0d35a9479aa8f4afc0f17b941b5fb9c5882 /pkg/domain/infra/abi | |
parent | 278afae1de55a2951b2a4810b100d14e5647977b (diff) | |
parent | 2fab7d169b0714574b6620f454c1408bf8097d4f (diff) | |
download | podman-9c4b8a29b06c179725983e7fa8fadf7ee68d9863.tar.gz podman-9c4b8a29b06c179725983e7fa8fadf7ee68d9863.tar.bz2 podman-9c4b8a29b06c179725983e7fa8fadf7ee68d9863.zip |
Merge pull request #14713 from Luap99/volume-plugin
add podman volume reload to sync volume plugins
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r-- | pkg/domain/infra/abi/volumes.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/volumes.go b/pkg/domain/infra/abi/volumes.go index a9c53c140..1186d8e81 100644 --- a/pkg/domain/infra/abi/volumes.go +++ b/pkg/domain/infra/abi/volumes.go @@ -211,3 +211,8 @@ func (ic *ContainerEngine) VolumeUnmount(ctx context.Context, nameOrIDs []string return reports, nil } + +func (ic *ContainerEngine) VolumeReload(ctx context.Context) (*entities.VolumeReloadReport, error) { + report := ic.Libpod.UpdateVolumePlugins(ctx) + return &entities.VolumeReloadReport{VolumeReload: *report}, nil +} |