mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
daemon/libnetwork/ns: make NetlinkSocketsTimeout a const
It's never updated, so let's make it clear that that's the case. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
// NetlinkSocketsTimeout represents the default timeout duration for the sockets.
|
||||
var NetlinkSocketsTimeout = 3 * time.Second
|
||||
const NetlinkSocketsTimeout = 3 * time.Second
|
||||
|
||||
// initNamespace initializes a new network namespace.
|
||||
var initNamespace = sync.OnceValues(initHandles)
|
||||
|
||||
Reference in New Issue
Block a user