summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-06-21 20:49:35 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-06-21 20:49:35 -0700
commit5fabea8cc501b548df400d3d694ce71870237c07 (patch)
treee8500e484c7f82e92c924adfb27b2d696675ab2d
parent06ec53d0c9fcddcc071a0e07731e6c83238400e6 (diff)
downloadlibcap2-5fabea8cc501b548df400d3d694ce71870237c07.tar.gz
Update comment in gowns sources.
I still have some things I want to explore with this example, so I don't want to give the impression this is a stable example. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--goapps/gowns/gowns.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/goapps/gowns/gowns.go b/goapps/gowns/gowns.go
index b9a14cd..3d26c34 100644
--- a/goapps/gowns/gowns.go
+++ b/goapps/gowns/gowns.go
@@ -1,5 +1,10 @@
// Program gowns is a small program to explore and demonstrate using
// Go to Wrap a child in a NameSpace under Linux.
+//
+// Note, this program is under active development and should not be
+// considered stable. That is, it is more a worked example and may
+// change command line arguments and behavior from release to release.
+// Should it become stable, I'll remove this comment.
package main
import (
@@ -119,7 +124,6 @@ func parseRanges(detail *nsDetail, ids string, id int) []syscall.SysProcIDMap {
base++
for _, next := range ranges(ids) {
- fmt.Println("next:", next)
list = append(list,
syscall.SysProcIDMap{
ContainerID: base,