Skip to content

Commit cf31f02

Browse files
committed
test: do not use service in resource names
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
1 parent 152d19b commit cf31f02

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

storage/test/resource.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,38 @@ import "go.einride.tech/aip/resourcename"
88

99
func resourceIDToVolumeName(resourceID string) string {
1010
return resourcename.Join(
11-
"//storage.opiproject.org/",
1211
"volumes", resourceID,
1312
)
1413
}
1514

1615
func resourceIDToSubsystemName(resourceID string) string {
1716
return resourcename.Join(
18-
"//storage.opiproject.org/",
1917
"subsystems", resourceID,
2018
)
2119
}
2220

2321
func resourceIDToNamespaceName(subsysResourceID, ctrlrResourceID string) string {
2422
return resourcename.Join(
25-
"//storage.opiproject.org/",
2623
"subsystems", subsysResourceID,
2724
"namespaces", ctrlrResourceID,
2825
)
2926
}
3027

3128
func resourceIDToControllerName(subsysResourceID, ctrlrResourceID string) string {
3229
return resourcename.Join(
33-
"//storage.opiproject.org/",
3430
"subsystems", subsysResourceID,
3531
"controllers", ctrlrResourceID,
3632
)
3733
}
3834

3935
func resourceIDToRemoteControllerName(resourceID string) string {
4036
return resourcename.Join(
41-
"//storage.opiproject.org/",
4237
"nvmeRemoteControllers", resourceID,
4338
)
4439
}
4540

4641
func resourceIDToNvmePathName(ctrlrResourceID, pathResourceID string) string {
4742
return resourcename.Join(
48-
"//storage.opiproject.org/",
4943
"nvmeRemoteControllers", ctrlrResourceID,
5044
"nvmePaths", pathResourceID,
5145
)

0 commit comments

Comments
 (0)