- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestOpenNetns (0.13 sec)
-
cni/pkg/nodeagent/netns_linux_test.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import "testing" func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 976 bytes - Viewed (0)