blob: 960faa9110fd58d7c4d91e99e7bd6fe07bc65436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// +build !linux
package libpod
import (
"github.com/sirupsen/logrus"
)
// parseNetNSBoltData sets ctr.state.NetNS, if any, from netNSBytes.
// Returns true if the data is valid.
func parseNetNSBoltData(ctr *Container, netNSBytes []byte) bool {
if netNSBytes != nil {
logrus.Errorf("error loading %s: network namespaces are not supported on this platform", ctr.ID())
return false
}
return true
}
|