control: Take empty namespace for 'root' #910

Merged
fyrchik merged 1 commit from aarifullin/frostfs-node:fix/control-svc-root-ns into master 2024-01-19 06:22:13 +00:00
Member

Signed-off-by: Airat Arifullin a.arifullin@yadro.com

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
aarifullin force-pushed fix/control-svc-root-ns from f2820071c6 to abf34b3b88 2024-01-12 14:58:18 +00:00 Compare
aarifullin requested review from storage-core-committers 2024-01-12 14:58:23 +00:00
aarifullin requested review from storage-core-developers 2024-01-12 14:58:30 +00:00
dstepanov-yadro approved these changes 2024-01-12 15:00:37 +00:00
acid-ant approved these changes 2024-01-12 15:01:30 +00:00
Owner

All tests are failing

All tests are failing
fyrchik approved these changes 2024-01-15 06:42:16 +00:00
fyrchik approved these changes 2024-01-16 13:58:41 +00:00
@ -19,2 +19,3 @@
case control.ChainTarget_NAMESPACE:
return engine.NamespaceTarget(chainTarget.GetName()), nil
namespace := chainTarget.GetName()
// if namespace is empty, we take it for root namespace.
Owner

If it ends with ., it should start with a capital letter.

If it ends with `.`, it should start with a capital letter.
Author
Member

Fixed! 👌

Fixed! 👌
aarifullin force-pushed fix/control-svc-root-ns from abf34b3b88 to 1bbfe186ae 2024-01-16 14:44:49 +00:00 Compare
aarifullin requested review from dstepanov-yadro 2024-01-16 14:45:24 +00:00
aarifullin requested review from acid-ant 2024-01-16 14:45:24 +00:00
aarifullin requested review from fyrchik 2024-01-16 14:45:24 +00:00
dstepanov-yadro approved these changes 2024-01-18 18:46:29 +00:00
fyrchik merged commit be33070550 into master 2024-01-19 06:22:13 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
4 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#910
No description provided.