Skip to content

Commit

Permalink
fix(backend): do not use service in nvme names
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun committed Jan 30, 2024
1 parent 6a51303 commit 5d3b487
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/utils/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ func GetSubsystemIDFromNvmeName(name string) string {
// remote controller name
func ResourceIDToRemoteControllerName(resourceID string) string {
return resourcename.Join(
"//storage.opiproject.org/",
"nvmeRemoteControllers", resourceID,
)
}

// ResourceIDToNvmePathName transforms path resource ID to path name
func ResourceIDToNvmePathName(ctrlrResourceID, pathResourceID string) string {
return resourcename.Join(
"//storage.opiproject.org/",
"nvmeRemoteControllers", ctrlrResourceID,
"nvmePaths", pathResourceID,
)
Expand Down

0 comments on commit 5d3b487

Please sign in to comment.