diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-24 14:16:12 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-24 14:16:12 +0800 |
commit | 332e1716fc93e3f2ffe6961d3c296503d2079bc8 (patch) | |
tree | 942e99410231c536ab1151d5ca239ffa782e471f /pkg/sentry/kernel/BUILD | |
parent | 08bbad690764dd55e333cade340d779df93de920 (diff) |
Rename kernel.SocketEntry to kernel.SocketRecord
SocketEntry can be confusing with the template types as the 'Entry'
is usually used as a suffix for list element types, e.g. socketEntry
in the same package. Suggested by Dean (@dean-deng).
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'pkg/sentry/kernel/BUILD')
-rw-r--r-- | pkg/sentry/kernel/BUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/BUILD b/pkg/sentry/kernel/BUILD index a43c549f1..a868ee7fe 100644 --- a/pkg/sentry/kernel/BUILD +++ b/pkg/sentry/kernel/BUILD @@ -69,8 +69,8 @@ go_template_instance( prefix = "socket", template = "//pkg/ilist:generic_list", types = { - "Element": "*SocketEntry", - "Linker": "*SocketEntry", + "Element": "*SocketRecord", + "Linker": "*SocketRecord", }, ) |