Skip to content

Commit

Permalink
Migrate endpoint to delete data lake resources (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer committed Jan 30, 2023
1 parent 08ecbf2 commit e392f54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public boolean removeMeasurement(String measurementID) {
if (measure.getMeasureName().equals(measurementID)) {
QueryResult queryResult = new DeleteDataQuery(new DataLakeMeasure(measurementID, null)).executeQuery();

return !queryResult.hasError() && queryResult.getResults().get(0).getError() == null;
return !queryResult.hasError();
}
}
return false;
Expand Down

0 comments on commit e392f54

Please sign in to comment.