Skip to content

Commit

Permalink
Fixed empty select if device is not yet detected (batching)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergkh committed Oct 2, 2024
1 parent 3b87f55 commit 4f40f9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tool/src/main/java/com/fidesmo/fdsm/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,9 @@ public static void main(String[] argv) {
DeliveryUrl delivery = DeliveryUrl.parse(args.valueOf(OPT_RUN));

if (delivery.isWebSocket()) {
FidesmoCard fidesmoCard = fidesmoMetadata.get();
fidesmoCard.selectEmpty(bibo);
if (fidesmoMetadata.isPresent()) {
fidesmoMetadata.get().selectEmpty(bibo);
}
boolean success = WsClient.execute(new URI(delivery.getService()), bibo, auth).join().isSuccess();
if (!success) {
fail("Fail to run a script");
Expand Down

0 comments on commit 4f40f9b

Please sign in to comment.