Skip to content

Commit f23ffc1

Browse files
committed
fixup: lint config and lint errors
Signed-off-by: Todd Baert <[email protected]>
1 parent 49f3629 commit f23ffc1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ MDL_CMD := docker run -v $(ROOT_DIR):/workdir --rm
119119

120120
.PHONY: markdownlint markdownlint-fix
121121
markdownlint:
122-
$(MDL_CMD) davidanson/markdownlint-cli2-rules:$(MDL_DOCKER_VERSION) "**/*.md"
122+
$(MDL_CMD) davidanson/markdownlint-cli2:$(MDL_DOCKER_VERSION) "**/*.md"
123123

124124
markdownlint-fix:
125-
$(MDL_CMD) --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2-rules:$(MDL_DOCKER_VERSION) "**/*.md"
125+
$(MDL_CMD) davidanson/markdownlint-cli2:$(MDL_DOCKER_VERSION) --fix "**/*.md"
126126

127127
.PHONY: pull-schemas-submodule
128128
pull-schemas-submodule:

docs/reference/sync-configuration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ See [syncs](../concepts/syncs.md) for a conceptual overview.
1111
Any URI passed to flagd via the `--uri` (`-f`) flag must follow one of the 6 following patterns with prefixes to ensure that
1212
it is passed to the correct implementation:
1313

14-
| Implied Sync Provider | Prefix | Example |
15-
| --------------------- | ---------------------- | ------------------------------------- |
16-
| `kubernetes` | `core.openfeature.dev` | `core.openfeature.dev/default/my-crd` |
17-
| `file` | `file:` | `file:etc/flagd/my-flags.json` |
18-
| `http` | `http(s)://` | `https://my-flags.com/flags` |
19-
| `grpc` | `grpc(s)://` | `grpc://my-flags-server` |
14+
| Implied Sync Provider | Prefix | Example |
15+
| ------------------------------------- | ---------------------------------- | ------------------------------------- |
16+
| `kubernetes` | `core.openfeature.dev` | `core.openfeature.dev/default/my-crd` |
17+
| `file` | `file:` | `file:etc/flagd/my-flags.json` |
18+
| `http` | `http(s)://` | `https://my-flags.com/flags` |
19+
| `grpc` | `grpc(s)://` | `grpc://my-flags-server` |
2020
| &nbsp;[grpc](#custom-grpc-target-uri) | `[ envoy \| dns \| uds\| xds ]://` | `envoy://localhost:9211/test.service` |
21-
| `gcs` | `gs://` | `gs://my-bucket/my-flags.json` |
22-
| `azblob` | `azblob://` | `azblob://my-container/my-flags.json` |
23-
| `s3` | `s3://` | `s3://my-bucket/my-flags.json` |
21+
| `gcs` | `gs://` | `gs://my-bucket/my-flags.json` |
22+
| `azblob` | `azblob://` | `azblob://my-container/my-flags.json` |
23+
| `s3` | `s3://` | `s3://my-bucket/my-flags.json` |
2424

2525
### Data Serialization
2626

@@ -58,7 +58,7 @@ Alternatively, these configurations can be passed to flagd via config file, spec
5858
| providerID | optional `string` | Value binds to grpc connection's providerID field. gRPC server implementations may use this to identify connecting flagd instance |
5959
| selector | optional `string` | Value binds to grpc connection's selector field. gRPC server implementations may use this to filter flag configurations |
6060
| certPath | optional `string` | Used for grpcs sync when TLS certificate is needed. If not provided, system certificates will be used for TLS connection |
61-
| maxMsgSize | optional `int` | Used for gRPC sync to set max receive message size (in bytes) e.g. 5242880 for 5MB. If not provided, the default is [4MB](https://pkg.go.dev/google.golang.org#grpc#MaxCallRecvMsgSize) |
61+
| maxMsgSize | optional `int` | Used for gRPC sync to set max receive message size (in bytes) e.g. 5242880 for 5MB. If not provided, the default is [4MB](https://pkg.go.dev/google.golang.org#grpc#MaxCallRecvMsgSize) |
6262

6363
The `uri` field values **do not** follow the [URI patterns](#uri-patterns). The provider type is instead derived
6464
from the `provider` field. Only exception is the remote provider where `http(s)://` is expected by default. Incorrect

0 commit comments

Comments
 (0)