Skip to content

Commit ea2dd4b

Browse files
committed
duplicated the
Signed-off-by: Jie Luo <[email protected]> typo Signed-off-by: Jie Luo <[email protected]> fix some typos Signed-off-by: Jie Luo <[email protected]>
1 parent fb41283 commit ea2dd4b

9 files changed

Lines changed: 12 additions & 12 deletions

File tree

api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3907,7 +3907,7 @@ paths:
39073907
default: false
39083908
- name: "stream"
39093909
in: "query"
3910-
description: "Stream attached streams from the the time the request was made onwards"
3910+
description: "Stream attached streams from the time the request was made onwards"
39113911
type: "boolean"
39123912
default: false
39133913
- name: "stdin"

daemon/graphdriver/devmapper/devmapper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func init() {
15-
// Reduce the size the the base fs and loopback for the tests
15+
// Reduce the size of the base fs and loopback for the tests
1616
defaultDataLoopbackSize = 300 * 1024 * 1024
1717
defaultMetaDataLoopbackSize = 200 * 1024 * 1024
1818
defaultBaseFsSize = 300 * 1024 * 1024

experimental/vlan-networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ip a show eth0
216216
inet 192.168.1.250/24 brd 192.168.1.255 scope global eth0
217217
```
218218

219-
-A traditional gateway doesn't mean much to an L3 mode Ipvlan interface since there is no broadcast traffic allowed. Because of that, the container default gateway simply point the the containers `eth0` device. See below for CLI output of `ip route` or `ip -6 route` from inside an L3 container for details.
219+
-A traditional gateway doesn't mean much to an L3 mode Ipvlan interface since there is no broadcast traffic allowed. Because of that, the container default gateway simply points to the containers `eth0` device. See below for CLI output of `ip route` or `ip -6 route` from inside an L3 container for details.
220220

221221
The mode ` -o ipvlan_mode=l3` must be explicitly specified since the default ipvlan mode is `l2`.
222222

integration-cli/daemon/daemon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ func (d *Daemon) SockRequestRaw(method, endpoint string, data io.Reader, ct stri
627627
return SockRequestRawToDaemon(method, endpoint, data, ct, d.Sock())
628628
}
629629

630-
// LogFileName returns the path the the daemon's log file
630+
// LogFileName returns the path the daemon's log file
631631
func (d *Daemon) LogFileName() string {
632632
return d.logFile.Name()
633633
}

integration-cli/docker_cli_exec_unix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (s *DockerSuite) TestExecTTY(c *check.C) {
6969
c.Assert(bytes.Contains(buf, []byte("hello")), checker.Equals, true, check.Commentf(string(buf[:read])))
7070
}
7171

72-
// Test the the TERM env var is set when -t is provided on exec
72+
// Test the TERM env var is set when -t is provided on exec
7373
func (s *DockerSuite) TestExecWithTERM(c *check.C) {
7474
testRequires(c, DaemonIsLinux, SameHostDaemon)
7575
out, _ := dockerCmd(c, "run", "-id", "busybox", "/bin/cat")

integration-cli/docker_cli_pull_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (s *DockerHubPullSuite) TestPullNonExistingImage(c *check.C) {
110110
}
111111

112112
// TestPullFromCentralRegistryImplicitRefParts pulls an image from the central registry and verifies
113-
// that pulling the same image with different combinations of implicit elements of the the image
113+
// that pulling the same image with different combinations of implicit elements of the image
114114
// reference (tag, repository, central registry url, ...) doesn't trigger a new pull nor leads to
115115
// multiple images.
116116
func (s *DockerHubPullSuite) TestPullFromCentralRegistryImplicitRefParts(c *check.C) {

pkg/httputils/httputils_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestDownload(t *testing.T) {
2424
response.Body.Close()
2525

2626
if err != nil || string(actual) != expected {
27-
t.Fatalf("Expected the response %q, got err:%v, response:%v, actual:%s", expected, err, response, string(actual))
27+
t.Fatalf("Expected the response %q, got err:%q, response:%q, actual:%q", expected, err, response, string(actual))
2828
}
2929
}
3030

@@ -37,13 +37,13 @@ func TestDownload400Errors(t *testing.T) {
3737
defer ts.Close()
3838
// Expected status code = 403
3939
if _, err := Download(ts.URL); err == nil || err.Error() != expectedError {
40-
t.Fatalf("Expected the the error %q, got %v", expectedError, err)
40+
t.Fatalf("Expected the error %q, got %q", expectedError, err)
4141
}
4242
}
4343

4444
func TestDownloadOtherErrors(t *testing.T) {
4545
if _, err := Download("I'm not an url.."); err == nil || !strings.Contains(err.Error(), "unsupported protocol scheme") {
46-
t.Fatalf("Expected an error with 'unsupported protocol scheme', got %v", err)
46+
t.Fatalf("Expected an error with 'unsupported protocol scheme', got %q", err)
4747
}
4848
}
4949

@@ -59,7 +59,7 @@ func TestNewHTTPRequestError(t *testing.T) {
5959
t.Fatal(err)
6060
}
6161
if err := NewHTTPRequestError(errorMessage, httpResponse); err.Error() != errorMessage {
62-
t.Fatalf("Expected err to be %q, got %v", errorMessage, err)
62+
t.Fatalf("Expected err to be %q, got %q", errorMessage, err)
6363
}
6464
}
6565

pkg/locker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function (or before doing anything with the underlying state), this ensures any
5959
other function that is dealing with the same name will block.
6060

6161
When needing to modify the underlying data, use the global lock to ensure nothing
62-
else is modfying it at the same time.
62+
else is modifying it at the same time.
6363
Since name lock is already in place, no reads will occur while the modification
6464
is being performed.
6565

pkg/plugins/pluginrpc-gen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Where:
3030
- `--type` is the name of the interface to use
3131
- `--name` is the subsystem that the plugin "Implements"
3232
- `-i` is the input file containing the interface definition
33-
- `-o` is the output file where the the generated code should go
33+
- `-o` is the output file where the generated code should go
3434

3535
**Note**: The generated code will use the same package name as the one defined in the input file
3636

0 commit comments

Comments
 (0)