aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-07-30 14:50:08 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-31 14:19:50 +0000
commit21f50b9f34298b456fe5e8d423e849999236828c (patch)
tree57f7782742ccebceed6862fd265573a33b4bc263
parentc7c56d800c21147252d388d09954d0c2e8faf9da (diff)
downloadpodman-21f50b9f34298b456fe5e8d423e849999236828c.tar.gz
podman-21f50b9f34298b456fe5e8d423e849999236828c.tar.bz2
podman-21f50b9f34298b456fe5e8d423e849999236828c.zip
Fix build on non-linux platforms
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1186 Approved by: rhatdan
-rw-r--r--libpod/boltdb_state_unsupported.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/libpod/boltdb_state_unsupported.go b/libpod/boltdb_state_unsupported.go
index 4565c1890..64610d304 100644
--- a/libpod/boltdb_state_unsupported.go
+++ b/libpod/boltdb_state_unsupported.go
@@ -2,10 +2,6 @@
package libpod
-import (
- "github.com/sirupsen/logrus"
-)
-
// replaceNetNS is exclusive to the Linux platform and is a no-op elsewhere
func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) error {
return nil
@@ -13,5 +9,5 @@ func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) er
// getNetNSPath is exclusive to the Linux platform and is a no-op elsewhere
func getNetNSPath(ctr *Container) string {
- return
+ return ""
}