mirror of
https://github.com/containers/podman.git
synced 2025-12-04 20:28:40 +08:00
vendor latest c/common
Includes my pasta changes. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/netns/netns_linux.go
generated
vendored
2
vendor/github.com/containers/common/pkg/netns/netns_linux.go
generated
vendored
@@ -60,7 +60,7 @@ func NewNSAtPath(nsPath string) (ns.NetNS, error) {
|
||||
// NewNS creates a new persistent (bind-mounted) network namespace and returns
|
||||
// an object representing that namespace, without switching to it.
|
||||
func NewNS() (ns.NetNS, error) {
|
||||
for i := 0; i < 10000; i++ {
|
||||
for range 10000 {
|
||||
b := make([]byte, 16)
|
||||
_, err := rand.Reader.Read(b)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user