Fix error message for undefined endpoint #897

Merged
fyrchik merged 1 commit from achuprov/frostfs-node:rpc_not_defined into master 2024-01-10 10:02:18 +00:00
Member
./frostfs-cli container create...

Before
can't create API client: provided RPC endpoint is incorrect: missing port in address

After
can't create API client: rpc-endpoint is not defined


./frostfs-cli control shards set-mode...
Before
can't create API client: provided RPC endpoint is incorrect: missing port in address

After
can't create API client: endpoint is not defined

Close #884

Signed-off-by: Alexander Chuprov a.chuprov@yadro.com

``` ./frostfs-cli container create... Before can't create API client: provided RPC endpoint is incorrect: missing port in address After can't create API client: rpc-endpoint is not defined ./frostfs-cli control shards set-mode... Before can't create API client: provided RPC endpoint is incorrect: missing port in address After can't create API client: endpoint is not defined ``` Close #884 Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
achuprov added 1 commit 2024-01-09 15:51:43 +00:00
[#884] cli: Fix error message for undefined endpoint
All checks were successful
DCO action / DCO (pull_request) Successful in 1m36s
Vulncheck / Vulncheck (pull_request) Successful in 3m7s
Build / Build Components (1.20) (pull_request) Successful in 3m52s
Build / Build Components (1.21) (pull_request) Successful in 3m56s
Tests and linters / Lint (pull_request) Successful in 4m48s
Tests and linters / Staticcheck (pull_request) Successful in 4m55s
Tests and linters / Tests (1.21) (pull_request) Successful in 6m51s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m27s
Tests and linters / Tests with -race (pull_request) Successful in 10m0s
b19ba94556
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
achuprov requested review from storage-core-committers 2024-01-09 16:00:33 +00:00
achuprov requested review from storage-core-developers 2024-01-09 16:00:33 +00:00
fyrchik approved these changes 2024-01-09 16:45:21 +00:00
acid-ant approved these changes 2024-01-10 08:37:12 +00:00
fyrchik merged commit 79bebe4a68 into master 2024-01-10 10:02:18 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#897
No description provided.