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, )