From 9a2f2b36cb407996b0a485fe657c0c728a68d302 Mon Sep 17 00:00:00 2001 From: Artsiom Koltun Date: Thu, 1 Feb 2024 11:48:04 +0100 Subject: [PATCH] fix(storage/frontend): precede nvme parent collections with nvme Signed-off-by: Artsiom Koltun --- storage/test/resource.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/storage/test/resource.go b/storage/test/resource.go index c68ac8d..627a3b2 100644 --- a/storage/test/resource.go +++ b/storage/test/resource.go @@ -14,21 +14,21 @@ func resourceIDToVolumeName(resourceID string) string { func resourceIDToSubsystemName(resourceID string) string { return resourcename.Join( - "subsystems", resourceID, + "nvmeSubsystems", resourceID, ) } func resourceIDToNamespaceName(subsysResourceID, ctrlrResourceID string) string { return resourcename.Join( - "subsystems", subsysResourceID, - "namespaces", ctrlrResourceID, + "nvmeSubsystems", subsysResourceID, + "nvmeNamespaces", ctrlrResourceID, ) } func resourceIDToControllerName(subsysResourceID, ctrlrResourceID string) string { return resourcename.Join( - "subsystems", subsysResourceID, - "controllers", ctrlrResourceID, + "nvmeSubsystems", subsysResourceID, + "nvmeControllers", ctrlrResourceID, ) }