Skip to content
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

Fixed command alias #55

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Fixed command alias #55

merged 2 commits into from
Aug 1, 2023

Conversation

mario-renau-a
Copy link
Contributor

Command alias must include module name, so instead of:
// Startup aliases for the first two seed nodes and a third, more can be started.
addCommandAlias("sharding1", "runMain sample.killrweather.KillrWeather 7345")
addCommandAlias("sharding2", "runMain sample.killrweather.KillrWeather 7355")
addCommandAlias("sharding3", "runMain sample.killrweather.KillrWeather 0")

They must be:
// Startup aliases for the first two seed nodes and a third, more can be started.
addCommandAlias("sharding1", "killrweather/runMain sample.killrweather.KillrWeather 7345")
addCommandAlias("sharding2", "killrweather/runMain sample.killrweather.KillrWeather 7355")
addCommandAlias("sharding3", "killrweather/runMain sample.killrweather.KillrWeather 0")

addCommandAlias("sharding3", "runMain sample.killrweather.KillrWeather 0")
addCommandAlias("sharding1", "killrweather/runMain sample.killrweather.KillrWeather 7345")
addCommandAlias("sharding2", "killrweather/runMain sample.killrweather.KillrWeather 7355")
addCommandAlias("sharding3", "killrweather/runMain sample.killrweather.KillrWeather 0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a blank line at the end of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, done.

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - thanks

@pjfanning pjfanning merged commit 68d7b87 into apache:main Aug 1, 2023
2 checks passed
@mario-renau-a mario-renau-a deleted the fix-sbt-command-alias branch August 8, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants