Merge pull request #136975 from sunya-ch/follow-up-rename

DRA: Optimize SharedDeviceID.GetDeviceID function
This commit is contained in:
Kubernetes Prow Robot
2026-02-20 23:01:41 +05:30
committed by GitHub

View File

@@ -59,7 +59,7 @@ func (d SharedDeviceID) String() string {
}
func (d SharedDeviceID) GetDeviceID() DeviceID {
return MakeDeviceID(d.Driver.String(), d.Pool.String(), d.Device.String())
return DeviceID{d.Driver, d.Pool, d.Device}
}
// MakeSharedDeviceID creates a new SharedDeviceID from a DeviceID and share ID.