Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 45fe9c5

Browse files
committed
docs: fix generated YAML due to trailing whitespace
If a file contains trailing whitespace, the YAML generator uses a compact format, which is hard to read. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 2484a30534e1322d5ad333fd5c0f5f0ef038dc98) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: df5ca0c950a0a216ee5ff5d623a8323f3142d03c Component: cli
1 parent 485c3b1 commit 45fe9c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/cli/docs/reference/commandline/context_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sourced from the file `/home/me/my-kube-config`:
6666
$ docker context create \
6767
--docker host=unix:///var/run/docker.sock \
6868
--kubernetes config-file=/home/me/my-kube-config \
69-
my-context
69+
my-context
7070
```
7171

7272
### Create a context based on an existing context
@@ -76,7 +76,7 @@ an existing context. The example below creates a new context named `my-context`
7676
from the existing context `existing-context`:
7777

7878
```bash
79-
$ docker context create --from existing-context my-context
79+
$ docker context create --from existing-context my-context
8080
```
8181

8282
If the `--from` option is not set, the `context` is created from the current context:

0 commit comments

Comments
 (0)