grighetto commented on a change in pull request #5:
URL: https://github.com/apache/cassandra-harry/pull/5#discussion_r538850472
##########
File path: harry-runner/src/harry/runner/HarryRunner.java
##########
@@ -152,6 +117,28 @@ public void tryRun(IsolatedExecutor.ThrowingRunnable
runnable)
}
}
+ /**
+ * Parses the command-line args and returns a File for the configuration
YAML.
+ * @param args Command-line args.
+ * @return Configuration YAML file.
+ * @throws Exception If file is not found or cannot be read.
+ */
+ default File loadConfig(String[] args) throws Exception {
Review comment:
just some common validation for loading the config file
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]