From c12ecccb426fba12456f0920a6cdbc6a7f7ed879 Mon Sep 17 00:00:00 2001 From: Artsiom Koltun Date: Wed, 31 Jan 2024 14:55:08 +0100 Subject: [PATCH] test: do not use service in resource names Signed-off-by: Artsiom Koltun --- storage/test/resource.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/storage/test/resource.go b/storage/test/resource.go index 3bcddba..c68ac8d 100644 --- a/storage/test/resource.go +++ b/storage/test/resource.go @@ -8,21 +8,18 @@ import "go.einride.tech/aip/resourcename" func resourceIDToVolumeName(resourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "volumes", resourceID, ) } func resourceIDToSubsystemName(resourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "subsystems", resourceID, ) } func resourceIDToNamespaceName(subsysResourceID, ctrlrResourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "subsystems", subsysResourceID, "namespaces", ctrlrResourceID, ) @@ -30,7 +27,6 @@ func resourceIDToNamespaceName(subsysResourceID, ctrlrResourceID string) string func resourceIDToControllerName(subsysResourceID, ctrlrResourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "subsystems", subsysResourceID, "controllers", ctrlrResourceID, ) @@ -38,14 +34,12 @@ func resourceIDToControllerName(subsysResourceID, ctrlrResourceID string) string func resourceIDToRemoteControllerName(resourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "nvmeRemoteControllers", resourceID, ) } func resourceIDToNvmePathName(ctrlrResourceID, pathResourceID string) string { return resourcename.Join( - "//storage.opiproject.org/", "nvmeRemoteControllers", ctrlrResourceID, "nvmePaths", pathResourceID, )