[grid] Giving correct value to "register-period"
Fixes
package org.openqa.selenium.grid.node.httpd;
-import com.beust.jcommander.Parameter;
+import static org.openqa.selenium.grid.config.StandardGridRoles.NODE_ROLE;
+
import com.google.auto.service.AutoService;
+
+import com.beust.jcommander.Parameter;
+
import org.openqa.selenium.grid.config.ConfigValue;
import org.openqa.selenium.grid.config.HasRoles;
import org.openqa.selenium.grid.config.NonSplittingSplitter;
import java.util.List;
import java.util.Set;
-import static org.openqa.selenium.grid.config.StandardGridRoles.NODE_ROLE;
-
+@SuppressWarnings("unused")
@AutoService(HasRoles.class)
public class NodeFlags implements HasRoles {
@Parameter(
names = "--register-period",
- description = "How long, in seconds, will the Node try to register to the Distributor for the first time. " +
- "After this period is completed, the Node will not attempt to register again.")
- @ConfigValue(section = "node", name = "register-cycle", example = "120")
+ description = "How long, in seconds, will the Node try to register to the Distributor for " +
+ "the first time. After this period is completed, the Node will not attempt " +
+ "to register again.")
+ @ConfigValue(section = "node", name = "register-period", example = "120")
public int registerPeriod;
@Parameter(
