mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Fix contextProvider not being in code block (#883)
This commit is contained in:
parent
3a50f35fdb
commit
39b3b07cd4
@ -78,9 +78,8 @@ This is a bit more advanced approach, where you configure a unleash-context prov
|
||||
|
||||
The provider typically binds the context to the same thread as the request. If you are using Spring the UnleashContextProvider will typically be a ‘request scoped’ bean.
|
||||
|
||||
UnleashContextProvider contextProvider = new MyAwesomeContextProvider();
|
||||
|
||||
```java
|
||||
UnleashContextProvider contextProvider = new MyAwesomeContextProvider();
|
||||
UnleashConfig config = new UnleashConfig.Builder()
|
||||
.appName("java-test")
|
||||
.instanceId("instance x")
|
||||
|
Loading…
Reference in New Issue
Block a user