aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_unsupported.go
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2018-07-05 13:25:24 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-06 00:48:39 +0000
commit537f021733468d6b3d8490d87a076740cd76add8 (patch)
tree02248bf0a58f0e2e6cc069a744ba99128739b7b7 /libpod/runtime_pod_unsupported.go
parentcad28cc2d30a2282702ea6f7061b742d1ef94aff (diff)
downloadpodman-537f021733468d6b3d8490d87a076740cd76add8.tar.gz
podman-537f021733468d6b3d8490d87a076740cd76add8.tar.bz2
podman-537f021733468d6b3d8490d87a076740cd76add8.zip
libpod/runtime_pod: Make removePod per-platform
b96be3af (changes to allow for darwin compilation, 2018-06-20, #1015) made RemovePod per-platform, but left out docs for the unsupported version [1]: libpod/runtime_pod_unsupported.go:14:1:warning: exported method Runtime.RemovePod should have comment or be unexported (golint) To keep the docs DRY, I've restored RemovePod and its docs to their previous location, and named a new, internal removePod for the per-platform implementations. [1]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L159 Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #1034 Approved by: baude
Diffstat (limited to 'libpod/runtime_pod_unsupported.go')
-rw-r--r--libpod/runtime_pod_unsupported.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_pod_unsupported.go b/libpod/runtime_pod_unsupported.go
index b22f151d8..7cecb7c56 100644
--- a/libpod/runtime_pod_unsupported.go
+++ b/libpod/runtime_pod_unsupported.go
@@ -11,6 +11,6 @@ func (r *Runtime) NewPod(options ...PodCreateOption) (*Pod, error) {
return nil, ErrOSNotSupported
}
-func (r *Runtime) RemovePod(ctx context.Context, p *Pod, removeCtrs, force bool) error {
+func (r *Runtime) removePod(ctx context.Context, p *Pod, removeCtrs, force bool) error {
return ErrOSNotSupported
}