Skip to content

Commit 4f41f72

Browse files
committed
Add After Review
Signed-off-by: Aditya Raut <araut7798@gmail.com>
1 parent d43cc09 commit 4f41f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/netns/netns_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func TestIsProcess(t *testing.T) {
161161
{
162162
name: "empty name directory",
163163
entry: createMockDirEntry("", true),
164-
want: true, // strings.IndexFunc returns -1 for empty string, which means no non-numeric chars found
164+
want: true, // An empty name is not a valid process ID.
165165
},
166166
}
167167

0 commit comments

Comments
 (0)