Skip to content

Commit

Permalink
Update guideline/static-context-provider.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Reining <lukas.reining@codecentric.de>
Signed-off-by: Thomas Poignant <thomas.poignant@gmail.com>
  • Loading branch information
thomaspoignant and lukas-reining authored May 17, 2024
1 parent d680f45 commit 7859893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guideline/static-context-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The `initialize()` function should follow those steps:
2. Make a POST request to the `/ofrep/v1/evaluate/flags` endpoint with the evaluation context in the body.
- If the endpoint returns an error, the `initialize()` function must error and exit.
- If the request is successful, we should store in a local cache all of the flags evaluation results returned by the API in a local cache. We should also store the `ETag` header in the provider to be able to send it back later.
3. If polling is enabled, the function should start the polling loop *(See [polling section](#polling))*.
3. If polling is enabled, the polling loop should start now *(See [polling section](#polling))*.

## Evaluation
The evaluation should not perform any remote API calls.
Expand Down

0 comments on commit 7859893

Please sign in to comment.