mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-29 05:57:03 +00:00
add some comments for const variable
This commit is contained in:
@@ -22,10 +22,10 @@ import (
|
||||
|
||||
func TestNamespacedBy(t *testing.T) {
|
||||
tests := map[string]Namespace{
|
||||
"kernel.shm_rmid_forced": IpcNamespace,
|
||||
"net.a.b.c": NetNamespace,
|
||||
"fs.mqueue.a.b.c": IpcNamespace,
|
||||
"foo": UnknownNamespace,
|
||||
"kernel.shm_rmid_forced": ipcNamespace,
|
||||
"net.a.b.c": netNamespace,
|
||||
"fs.mqueue.a.b.c": ipcNamespace,
|
||||
"foo": unknownNamespace,
|
||||
}
|
||||
|
||||
for sysctl, ns := range tests {
|
||||
|
||||
Reference in New Issue
Block a user