Skip to content

Commit 8b977ab

Browse files
committed
fixed minor issue with too long HttpClient name
Signed-off-by: Rene Scherer <rene@scherer-online.com>
1 parent ba1ad12 commit 8b977ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bundles/org.openhab.binding.myenergi/src/main/java/org/openhab/binding/myenergi/internal/handler/MyenergiBridgeHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ public MyenergiBridgeHandler(Bridge thing, HttpClientFactory httpClientFactory)
6464
super(thing);
6565

6666
// create a new httpClient, so that we can add our own digest authentication
67-
apiClient = new MyenergiApiClient(
68-
httpClientFactory.createHttpClient(MyenergiBridgeHandler.class.getSimpleName()));
67+
apiClient = new MyenergiApiClient(httpClientFactory.createHttpClient("MyenergiBridge"));
6968
}
7069

7170
public ThingUID getUID() {

0 commit comments

Comments
 (0)