docs: inspect: remove trailing whitespace from example

Current versions of the docs generator take this into account, but on
the 20.10 branch, the trailing whitespace can make the YAML generator
switch to use "compact" formatting, which is hard to read, and hard
to review diffs when updating.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-01-07 12:24:14 +01:00
parent d32f0484eb
commit 35d7fbc818
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ $ docker run --name database -d redis
3b2cbf074c99db4a0cad35966a9e24d7bc277f5565c17233386589029b7db273 3b2cbf074c99db4a0cad35966a9e24d7bc277f5565c17233386589029b7db273
$ docker inspect --size database -f '{{ .SizeRootFs }}' $ docker inspect --size database -f '{{ .SizeRootFs }}'
123125760 123125760
$ docker inspect --size database -f '{{ .SizeRw }}' $ docker inspect --size database -f '{{ .SizeRw }}'
8192 8192
$ docker exec database fallocate -l 1000 /newfile $ docker exec database fallocate -l 1000 /newfile
$ docker inspect --size database -f '{{ .SizeRw }}' $ docker inspect --size database -f '{{ .SizeRw }}'
12288 12288
``` ```