chore: fix some comments

Signed-off-by: dongjinlong <dongjinlong@outlook.com>
This commit is contained in:
dongjinlong 2024-03-26 19:25:28 +08:00
parent bfdb8918f9
commit ea9c303b21
12 changed files with 22 additions and 22 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -3090,7 +3090,7 @@ definitions:
<p><br /></p>
- "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

View file

@ -3093,7 +3093,7 @@ definitions:
<p><br /></p>
- "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

View file

@ -3106,7 +3106,7 @@ definitions:
<p><br /></p>
- "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

View file

@ -3112,7 +3112,7 @@ definitions:
<p><br /></p>
- "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

View file

@ -3166,7 +3166,7 @@ definitions:
<p><br /></p>
- "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

View file

@ -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")