Fix build on non-linux platforms

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #1186
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-07-30 14:50:08 -04:00
committed by Atomic Bot
parent c7c56d800c
commit 21f50b9f34

View File

@ -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 ""
}