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

ISPN-11623: use default to connect to a server without arguments #8185

Closed
wants to merge 1 commit into from

Conversation

wfink
Copy link
Contributor

@wfink wfink commented Apr 9, 2020

Simplify connected start without parameter for -c --connect
https://issues.redhat.com/browse/ISPN-11623

Copy link
Contributor

@karesti karesti left a comment

Choose a reason for hiding this comment

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

Could we add a test to cover this in CliIT ?

// Fall through
case "--connect":
connectionString = parameter;
if(connectionString == null) {
connectionString="localhost:11222";
Copy link
Member

Choose a reason for hiding this comment

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

This should be http://localhost:11222. Also please fix the formatting.

cli/cli-client/src/main/java/org/infinispan/cli/CLI.java Outdated Show resolved Hide resolved
    Better error messages if parameter for commands are missed
@tristantarrant
Copy link
Member

This functionality has been absorbed into #8295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants