Fix the message about chains are not found for namespace/container #1012

Closed
opened 2024-02-29 11:21:11 +00:00 by aarifullin · 0 comments
Member

Expected Behavior

If a target is a namespace, then frostfs-cli control list-rules has to output:

Local overrides are not defined for the namespace.

If a target is a container, then frostfs-cli control list-rules has to output:

Local overrides are not defined for the container.

If targets are not found, then frostfs-cli control list-targets has to output:

Local overrides are not defined for any target.

Current Behavior

All cases outputs Local overrides are not defined for the container.

## Expected Behavior If a target is a namespace, then `frostfs-cli control list-rules` has to output: ``` Local overrides are not defined for the namespace. ``` If a target is a container, then `frostfs-cli control list-rules` has to output: ``` Local overrides are not defined for the container. ``` If targets are not found, then `frostfs-cli control list-targets` has to output: ``` Local overrides are not defined for any target. ``` ## Current Behavior All cases outputs `Local overrides are not defined for the container.`
aarifullin added the
bug
frostfs-cli
labels 2024-02-29 11:21:11 +00:00
aarifullin self-assigned this 2024-02-29 12:27:30 +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#1012
No description provided.