summaryrefslogtreecommitdiff
path: root/funcs/net.go
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/net.go')
-rw-r--r--funcs/net.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/funcs/net.go b/funcs/net.go
index 44b7aabe..0d87b98a 100644
--- a/funcs/net.go
+++ b/funcs/net.go
@@ -14,13 +14,15 @@ import (
)
// NetNS - the net namespace
+//
// Deprecated: don't use
func NetNS() *NetFuncs {
return &NetFuncs{}
}
// AddNetFuncs -
-// Deprecated: use CreateNetFuncs instead
+//
+// Deprecated: use [CreateNetFuncs] instead
func AddNetFuncs(f map[string]interface{}) {
for k, v := range CreateNetFuncs(context.Background()) {
f[k] = v