Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and lint discovery.azure to discovery.dockerswarm #2403

Merged
merged 11 commits into from
Jan 22, 2025
Prev Previous commit
Next Next commit
Fix a typo and two sentences
clayton-cornell committed Jan 21, 2025
commit 68db143e80bacb1de491d62c008093d08f2859cc
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ discovery.docker "<LABEL>" {

## Arguments

TYou can use the following arguments with `discovery.docker`:
You can use the following arguments with `discovery.docker`:

Name | Type | Description | Default | Required
-------------------------|---------------------|--------------------------------------------------------------------------------------------------|---------------|---------
@@ -87,7 +87,7 @@ The `basic_auth` block configures basic authentication to the endpoint.

### filter

You can use the `filter` block to configure a filter to pass to the Docker Engine to limit the amount of containers returned.
The `filter` block configures a filter to pass to the Docker Engine to limit the number of containers returned.
You can specify the `filter` block multiple times to provide more than one filter.

Name | Type | Description | Default | Required
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ The `basic_auth` block configures basic authentication to the endpoint.

### filter

You can use the `filter` block to limit the discovery process to a subset of available resources.
The `filter` block limits the discovery process to a subset of available resources.
You can define multiple `filter` blocks within the `discovery.dockerswarm` block.
The list of available filters depends on the `role`: