aboutsummaryrefslogtreecommitdiff
path: root/libpod/boltdb_state_unsupported.go
blob: 9db1e3c4bc11f3a118c3acf4bdbf84362062ef28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//go:build !linux && !freebsd
// +build !linux,!freebsd

package libpod

import (
	"errors"
)

// replaceNetNS handle network namespace transitions after updating a
// container's state.
func replaceNetNS(netNSPath string, ctr *Container, newState *ContainerState) error {
	return errors.New("replaceNetNS not supported on this platform")
}

// getNetNSPath retrieves the netns path to be stored in the database
func getNetNSPath(ctr *Container) string {
	return ""
}