From 21f50b9f34298b456fe5e8d423e849999236828c Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 30 Jul 2018 14:50:08 -0400 Subject: Fix build on non-linux platforms Signed-off-by: Matthew Heon Closes: #1186 Approved by: rhatdan --- libpod/boltdb_state_unsupported.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libpod/boltdb_state_unsupported.go') 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 "" } -- cgit v1.2.3-54-g00ecf