Browse code

Delete duplicate words

update pull request

Signed-off-by: “xichengliudui” <“liuduidui@beyondcent.com”>

xichengliudui authored on 2019/02/27 03:50:04
Showing 2 changed files
... ...
@@ -87,7 +87,7 @@ type Client struct {
87 87
 // If the request is non-GET return `ErrRedirect`. Otherwise use the last response.
88 88
 //
89 89
 // Go 1.8 changes behavior for HTTP redirects (specifically 301, 307, and 308) in the client .
90
-// The Docker client (and by extension docker API client) can be made to to send a request
90
+// The Docker client (and by extension docker API client) can be made to send a request
91 91
 // like POST /containers//start where what would normally be in the name section of the URL is empty.
92 92
 // This triggers an HTTP 301 from the daemon.
93 93
 // In go 1.8 this 301 will be converted to a GET request, and ends up getting a 404 from the daemon.
... ...
@@ -374,7 +374,7 @@ Try {
374 374
         Write-Host  -ForegroundColor Green "---------------------------------------------------------------------------"
375 375
         Write-Host  -ForegroundColor Green " Failed to get a response from the control daemon. It may be down."
376 376
         Write-Host  -ForegroundColor Green " Try re-running this CI job, or ask on #docker-maintainers on docker slack"
377
-        Write-Host  -ForegroundColor Green " to see if the the daemon is running. Also check the service configuration."
377
+        Write-Host  -ForegroundColor Green " to see if the daemon is running. Also check the service configuration."
378 378
         Write-Host  -ForegroundColor Green " DOCKER_HOST is set to $DOCKER_HOST."
379 379
         Write-Host  -ForegroundColor Green "---------------------------------------------------------------------------"
380 380
         Write-Host 
... ...
@@ -554,7 +554,7 @@ Try {
554 554
     $env:GOROOT="$env:TEMP\go"
555 555
     Write-Host -ForegroundColor Green "INFO: $(go version)"
556 556
     
557
-    # Work out the the -H parameter for the daemon under test (DASHH_DUT) and client under test (DASHH_CUT)
557
+    # Work out the -H parameter for the daemon under test (DASHH_DUT) and client under test (DASHH_CUT)
558 558
     #$DASHH_DUT="npipe:////./pipe/$COMMITHASH" # Can't do remote named pipe
559 559
     #$ip = (resolve-dnsname $env:COMPUTERNAME -type A -NoHostsFile -LlmnrNetbiosOnly).IPAddress # Useful to tie down
560 560
     $DASHH_CUT="tcp://127.0.0.1`:2357"    # Not a typo for 2375!
... ...
@@ -813,7 +813,7 @@ Try {
813 813
             if ($null -ne $env:INTEGRATION_IN_CONTAINER) {
814 814
                 Write-Host -ForegroundColor Green "INFO: Integration tests being run inside a container"
815 815
                 # Note we talk back through the containers gateway address
816
-                # And the ridiculous lengths we have to go to to get the default gateway address... (GetNetIPConfiguration doesn't work in nanoserver)
816
+                # And the ridiculous lengths we have to go to get the default gateway address... (GetNetIPConfiguration doesn't work in nanoserver)
817 817
                 # I just could not get the escaping to work in a single command, so output $c to a file and run that in the container instead...
818 818
                 # Not the prettiest, but it works.
819 819
                 $c | Out-File -Force "$env:TEMP\binary\runIntegrationCLI.ps1"