Fix build on non-linux platforms
Closes:
Approved by: rhatdan
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 ""
}
