Finish backend for Support Data set in adapters
@@ -46,7 +46,7 @@ public class WorkerRestClient {
public static void stopStreamAdapter(String baseUrl, AdapterStreamDescription adapterStreamDescription) throws AdapterException {
String url = baseUrl + "worker/stream/stop";
- AdapterDescription ad = getAdapterDescriptionById(new AdapterStorageImpl(), adapterStreamDescription.getId());
+ AdapterDescription ad = getAdapterDescriptionById(new AdapterStorageImpl(), adapterStreamDescription.getUri());
stopAdapter(adapterStreamDescription.getId(), ad, url);
}
