Skip to content

Commit f51583b

Browse files
committed
Revert "[java] Adding slot matcher flag to Node."
This reverts commit ee55ea2.
1 parent 5136deb commit f51583b

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.idea/jsLibraryMappings.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/src/org/openqa/selenium/grid/node/config/NodeFlags.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_REGISTER_CYCLE;
3030
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_REGISTER_PERIOD;
3131
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_SESSION_TIMEOUT;
32-
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_SLOT_MATCHER;
3332
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_USE_SELENIUM_MANAGER;
3433
import static org.openqa.selenium.grid.node.config.NodeOptions.DEFAULT_VNC_ENV_VAR;
3534
import static org.openqa.selenium.grid.node.config.NodeOptions.NODE_SECTION;
@@ -69,15 +68,6 @@ public class NodeFlags implements HasRoles {
6968
@ConfigValue(section = NODE_SECTION, name = "override-max-sessions", example = "false")
7069
public Boolean overrideMaxSessions = OVERRIDE_MAX_SESSIONS;
7170

72-
@Parameter(
73-
names = {"--slot-matcher"},
74-
description =
75-
"Full classname of non-default slot matcher to use. This is used to determine whether a"
76-
+ " Node can support a particular session. The class provided here should be the same"
77-
+ " as the one used for distributor options")
78-
@ConfigValue(section = "distributor", name = "slot-matcher", example = DEFAULT_SLOT_MATCHER)
79-
private String slotMatcher = DEFAULT_SLOT_MATCHER;
80-
8171
@Parameter(
8272
names = {"--session-timeout"},
8373
description =

0 commit comments

Comments
 (0)