frostfs-cli tree list doesn't read rpc-endpoint from config file #1442

Closed
opened 2024-10-22 12:13:08 +00:00 by a-savchuk · 0 comments
Member

Expected Behavior

The CLI command starts working

Current Behavior

The CLI command returns an error Error: required flag(s) "rpc-endpoint" not set

Steps to Reproduce (for bugs)

  1. Write the config file as follows
$ cat cli.yaml
wallet: node1-storage.json
password: N7Omhct5
rpc-endpoint: 10.78.130.238:8080
address: NWBqChzgL9VZtkRBj83Cd8H9GbcAhbBD41
  1. Run frostfs-cli -c cli.yaml tree list --cid 9HAXqftkMZAPRpStA1pQHLqxL7gj9mdihY5K9hv4Fvr

Your Environment

FrostFS CLI
Version: v0.44.0-rc.5-30-g8b6ec57c
GoVersion: go1.22.6

## Expected Behavior The CLI command starts working ## Current Behavior The CLI command returns an error `Error: required flag(s) "rpc-endpoint" not set` ## Steps to Reproduce (for bugs) 1. Write the config file as follows ``` $ cat cli.yaml wallet: node1-storage.json password: N7Omhct5 rpc-endpoint: 10.78.130.238:8080 address: NWBqChzgL9VZtkRBj83Cd8H9GbcAhbBD41 ``` 2. Run `frostfs-cli -c cli.yaml tree list --cid 9HAXqftkMZAPRpStA1pQHLqxL7gj9mdihY5K9hv4Fvr` ## Your Environment FrostFS CLI Version: v0.44.0-rc.5-30-g8b6ec57c GoVersion: go1.22.6
a-savchuk added the
bug
frostfs-cli
P3
triage
labels 2024-10-22 12:13:08 +00:00
a-savchuk was assigned by fyrchik 2024-10-22 12:25:15 +00:00
fyrchik added this to the v0.44.0 milestone 2024-10-22 12:25:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1442
No description provided.