Fix documentation for Docker API filters (#10252)

* Fix documentation for Docker API filters

Signed-off-by: Robert Jacob <xperimental@solidproject.de>

* Undo indentation change

Signed-off-by: Robert Jacob <xperimental@solidproject.de>
This commit is contained in:
Robert Jacob 2022-02-03 23:57:02 +01:00 committed by GitHub
parent 4d61baa3e4
commit 277bf93952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -703,9 +703,7 @@ tls_config:
# Optional filters to limit the discovery process to a subset of available # Optional filters to limit the discovery process to a subset of available
# resources. # resources.
# The available filters are listed in the upstream documentation: # The available filters are listed in the upstream documentation:
# Services: https://docs.docker.com/engine/api/v1.40/#operation/ServiceList # https://docs.docker.com/engine/api/v1.40/#operation/ContainerList
# Tasks: https://docs.docker.com/engine/api/v1.40/#operation/TaskList
# Nodes: https://docs.docker.com/engine/api/v1.40/#operation/NodeList
[ filters: [ filters:
[ - name: <string> [ - name: <string>
values: <string>, [...] ] values: <string>, [...] ]
@ -868,7 +866,9 @@ role: <string>
# Optional filters to limit the discovery process to a subset of available # Optional filters to limit the discovery process to a subset of available
# resources. # resources.
# The available filters are listed in the upstream documentation: # The available filters are listed in the upstream documentation:
# https://docs.docker.com/engine/api/v1.40/#operation/ContainerList # Services: https://docs.docker.com/engine/api/v1.40/#operation/ServiceList
# Tasks: https://docs.docker.com/engine/api/v1.40/#operation/TaskList
# Nodes: https://docs.docker.com/engine/api/v1.40/#operation/NodeList
[ filters: [ filters:
[ - name: <string> [ - name: <string>
values: <string>, [...] ] values: <string>, [...] ]