Dmitry Baranov created IGNITE-20025:
---------------------------------------
Summary: Command 'connect defaultNode' throws error
Key: IGNITE-20025
URL: https://issues.apache.org/jira/browse/IGNITE-20025
Project: Ignite
Issue Type: Bug
Components: cli
Affects Versions: 3.0.0-beta1
Reporter: Dmitry Baranov
Attachments: image-2023-07-23-16-57-58-225.png
Steps to reproduce the issue
1. from disconnected state execute
{code:java}
connect{code}
Connected to http://localhost:10300
2.
{code:java}
disconnect{code}
Disconnected from http://localhost:10300
3.
{code:java}
connect http://localhost:10300{code}
Connected to http://localhost:10300
4. [admin:defaultNode]>
{code:java}
disconnect{code}
Disconnected from http://localhost:10300
5. [disconnected]>
{code:java}
connect defaultNode{code}
*Actual:*
Invalid value for positional parameter at index 0 (<nodeNameOrUrl>): Node
defaultNode not found. Provide valid name or use URL
Usage: connect [-hv] <nodeNameOrUrl>
Connects to Ignite 3 node
<nodeNameOrUrl> URL or name of an Ignite node
-h, --help Show help for the specified command
-v, --verbose Show additional information: logs, REST calls
{*}Expected{*}:
Successful connection to the defaultNode
--
This message was sent by Atlassian Jira
(v8.20.10#820010)