-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use storm.local.dir
for generated-conf path.
#71
Conversation
b12560a
to
64cc591
Compare
Optional.fromNullable((String) conf.get(Config.STORM_LOCAL_DIR)).or("./"), | ||
"generated-conf"); | ||
if (!_generatedConfPath.toFile().exists() && !_generatedConfPath.toFile().mkdirs()) { | ||
throw new RuntimeException("Couldn't create generated-conf dir"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, you fixed that greate typo ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add in the path that couldn't be created to the exception? _generatedConfPath
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for always being so quick!
64cc591
to
3d504b0
Compare
@brndnmtthws : looks good, I think this is an improvement, but perhaps we should wait for @salimane to test it to ensure it actually fixes his issue in #70. |
@brndnmtthws @erikdw everything looks good, tested it and it works 👍 |
thanks @brndnmtthws & @salimane ! 🚢 🇮🇹 ! |
Use `storm.local.dir` for generated-conf path.
to address #70.