Bladeren bron

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 jaren geleden
bovenliggende
commit
c523d6d25c
1 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  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.
 // These are the container configs used to customize container /etc/hosts file.
 type hostsPathConfig struct {
 type hostsPathConfig struct {
-	// Note(cpuguy83): The linter is drunk and says none of these fields are used while they are
 	hostName        string
 	hostName        string
 	domainName      string
 	domainName      string
 	hostsPath       string
 	hostsPath       string
@@ -114,7 +113,6 @@ type extraHost struct {
 
 
 // These are the container configs used to customize container /etc/resolv.conf file.
 // These are the container configs used to customize container /etc/resolv.conf file.
 type resolvConfPathConfig struct {
 type resolvConfPathConfig struct {
-	// Note(cpuguy83): The linter is drunk and says none of these fields are used while they are
 	resolvConfPath       string
 	resolvConfPath       string
 	originResolvConfPath string
 	originResolvConfPath string
 	resolvConfHashFile   string
 	resolvConfHashFile   string