瀏覽代碼

libnetwork: remove some outdated comments

The corresponding "nolint" comments were removed in 2f1c382a6ddb988cf968c0eac1c2c0884826e214,
but didn't remove these comments.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 年之前
父節點
當前提交
c523d6d25c
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      libnetwork/sandbox.go

+ 0 - 2
libnetwork/sandbox.go

@@ -92,7 +92,6 @@ type sandbox struct {
 
 // These are the container configs used to customize container /etc/hosts file.
 type hostsPathConfig struct {
-	// Note(cpuguy83): The linter is drunk and says none of these fields are used while they are
 	hostName        string
 	domainName      string
 	hostsPath       string
@@ -114,7 +113,6 @@ type extraHost struct {
 
 // These are the container configs used to customize container /etc/resolv.conf file.
 type resolvConfPathConfig struct {
-	// Note(cpuguy83): The linter is drunk and says none of these fields are used while they are
 	resolvConfPath       string
 	originResolvConfPath string
 	resolvConfHashFile   string