Skip to content

Commit

Permalink
fixup! feat: Update in-process resolver to support flag metadata open…
Browse files Browse the repository at this point in the history
…-feature#1102

Signed-off-by: christian.lutnik <[email protected]>
  • Loading branch information
chrfwow committed Jan 10, 2025
1 parent 9b49abc commit a8a2cd6
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public class InProcessResolver implements Resolver {
private final Consumer<ConnectionEvent> onConnectionEvent;
private final Operator operator;
private final long deadline;
private final ImmutableMetadata fallBackMetadata;
private final Supplier<Boolean> connectedSupplier;
private final String scope;

Expand All @@ -65,14 +64,7 @@ public InProcessResolver(
this.onConnectionEvent = onConnectionEvent;
this.operator = new Operator();
this.connectedSupplier = connectedSupplier;
if (options.getSelector() == null) {
this.scope = null;
this.fallBackMetadata = null;
} else {
this.scope = options.getSelector();
this.fallBackMetadata =
ImmutableMetadata.builder().addString("scope", this.scope).build();
}
this.scope = options.getSelector();
}

/**
Expand Down

0 comments on commit a8a2cd6

Please sign in to comment.