From ea9c303b21ce6451ee3e5ae3255415d50b59a7ac Mon Sep 17 00:00:00 2001 From: dongjinlong Date: Tue, 26 Mar 2024 19:25:28 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: dongjinlong --- contrib/download-frozen-image-v2.sh | 2 +- docs/api/v1.25.yaml | 2 +- docs/api/v1.26.yaml | 2 +- docs/api/v1.27.yaml | 2 +- docs/api/v1.32.yaml | 4 ++-- docs/api/v1.33.yaml | 4 ++-- docs/api/v1.34.yaml | 6 +++--- docs/api/v1.35.yaml | 6 +++--- docs/api/v1.36.yaml | 6 +++--- docs/api/v1.37.yaml | 6 +++--- docs/api/v1.38.yaml | 2 +- integration/image/tag_test.go | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/contrib/download-frozen-image-v2.sh b/contrib/download-frozen-image-v2.sh index 13534cce0a..86f26e42c3 100755 --- a/contrib/download-frozen-image-v2.sh +++ b/contrib/download-frozen-image-v2.sh @@ -11,7 +11,7 @@ set -eo pipefail # scope, but may not accept contributions beyond that. # # For users who have a similar need but require more flexibility/functionality, -# refer the the discussion on GitHub, which mentions various alternatives that +# refer to the discussion on GitHub, which mentions various alternatives that # are more suitable for other uses: https://github.com/moby/moby/issues/40857 # hello-world latest ef872312fe1b 3 months ago 910 B diff --git a/docs/api/v1.25.yaml b/docs/api/v1.25.yaml index a396d8bf51..1a8008ab4e 100644 --- a/docs/api/v1.25.yaml +++ b/docs/api/v1.25.yaml @@ -3909,7 +3909,7 @@ paths: default: false - name: "stream" in: "query" - description: "Stream attached streams from the the time the request was made onwards" + description: "Stream attached streams from the time the request was made onwards" type: "boolean" default: false - name: "stdin" diff --git a/docs/api/v1.26.yaml b/docs/api/v1.26.yaml index 4b1d03e134..b0a0ba7407 100644 --- a/docs/api/v1.26.yaml +++ b/docs/api/v1.26.yaml @@ -3913,7 +3913,7 @@ paths: default: false - name: "stream" in: "query" - description: "Stream attached streams from the the time the request was made onwards" + description: "Stream attached streams from the time the request was made onwards" type: "boolean" default: false - name: "stdin" diff --git a/docs/api/v1.27.yaml b/docs/api/v1.27.yaml index 802b121a3f..738ace5678 100644 --- a/docs/api/v1.27.yaml +++ b/docs/api/v1.27.yaml @@ -3980,7 +3980,7 @@ paths: default: false - name: "stream" in: "query" - description: "Stream attached streams from the the time the request was made onwards" + description: "Stream attached streams from the time the request was made onwards" type: "boolean" default: false - name: "stdin" diff --git a/docs/api/v1.32.yaml b/docs/api/v1.32.yaml index 75f76e5815..7cbe63c165 100644 --- a/docs/api/v1.32.yaml +++ b/docs/api/v1.32.yaml @@ -3795,7 +3795,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4013,7 +4013,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.33.yaml b/docs/api/v1.33.yaml index 0a5fe19f13..1c611c3ee7 100644 --- a/docs/api/v1.33.yaml +++ b/docs/api/v1.33.yaml @@ -3799,7 +3799,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4017,7 +4017,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.34.yaml b/docs/api/v1.34.yaml index 71d0fed817..da4ff75ee9 100644 --- a/docs/api/v1.34.yaml +++ b/docs/api/v1.34.yaml @@ -3090,7 +3090,7 @@ definitions:


- - "ingress" makes the target port accessible on on every node, + - "ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - "host" bypasses the routing mesh and publish the port directly on @@ -3827,7 +3827,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4045,7 +4045,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.35.yaml b/docs/api/v1.35.yaml index 6d06746b56..7bb8450424 100644 --- a/docs/api/v1.35.yaml +++ b/docs/api/v1.35.yaml @@ -3093,7 +3093,7 @@ definitions:


- - "ingress" makes the target port accessible on on every node, + - "ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - "host" bypasses the routing mesh and publish the port directly on @@ -3830,7 +3830,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4048,7 +4048,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.36.yaml b/docs/api/v1.36.yaml index bcf04ffa68..bb0c918b26 100644 --- a/docs/api/v1.36.yaml +++ b/docs/api/v1.36.yaml @@ -3106,7 +3106,7 @@ definitions:


- - "ingress" makes the target port accessible on on every node, + - "ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - "host" bypasses the routing mesh and publish the port directly on @@ -3843,7 +3843,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4061,7 +4061,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.37.yaml b/docs/api/v1.37.yaml index 0ef019fc9e..d8f7736200 100644 --- a/docs/api/v1.37.yaml +++ b/docs/api/v1.37.yaml @@ -3112,7 +3112,7 @@ definitions:


- - "ingress" makes the target port accessible on on every node, + - "ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - "host" bypasses the routing mesh and publish the port directly on @@ -3863,7 +3863,7 @@ definitions: - "process" InitBinary: description: | - Name and, optional, path of the the `docker-init` binary. + Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. @@ -4081,7 +4081,7 @@ definitions: - "https://registry-3.docker.io/" Secure: description: | - Indicates if the the registry is part of the list of insecure + Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept diff --git a/docs/api/v1.38.yaml b/docs/api/v1.38.yaml index 30437fc9e8..f6480957d3 100644 --- a/docs/api/v1.38.yaml +++ b/docs/api/v1.38.yaml @@ -3166,7 +3166,7 @@ definitions:


- - "ingress" makes the target port accessible on on every node, + - "ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - "host" bypasses the routing mesh and publish the port directly on diff --git a/integration/image/tag_test.go b/integration/image/tag_test.go index 0c7a8faa40..d4076b5d26 100644 --- a/integration/image/tag_test.go +++ b/integration/image/tag_test.go @@ -82,7 +82,7 @@ func TestTagOfficialNames(t *testing.T) { // ensure we don't have multiple tag names. insp, _, err := client.ImageInspectWithRaw(ctx, "busybox") assert.NilError(t, err) - // TODO(vvoland): Not sure what's actually being tested here. Is is still doing anything useful? + // TODO(vvoland): Not sure what's actually being tested here. Is it still doing anything useful? assert.Assert(t, !is.Contains(insp.RepoTags, name)().Success()) err = client.ImageTag(ctx, name+":latest", "test-tag-official-names/foobar:latest")