Skip to content

Commit b81f6ef

Browse files
popsiclexuCopilot
andauthored
typo: fix typos in comment and log (#917)
Signed-off-by: popsiclexu <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 8ec9730 commit b81f6ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/device/mthreads/device.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ const (
3838
MthreadsGPUDevice = "Mthreads"
3939
MthreadsGPUCommonWord = "Mthreads"
4040
MthreadsDeviceSelection = "mthreads.com/gpu-index"
41-
// IluvatarUseUUID is user can use specify Iluvatar device for set Iluvatar UUID.
41+
// MthreadsUseUUID is user can use specify Mthreads device for set Mthreads UUID.
4242
MthreadsUseUUID = "mthreads.ai/use-gpuuuid"
43-
// IluvatarNoUseUUID is user can not use specify Iluvatar device for set Iluvatar UUID.
43+
// MthreadsNoUseUUID is user can not use specify Mthreads device for set Mthreads UUID.
4444
MthreadsNoUseUUID = "mthreads.ai/nouse-gpuuuid"
4545
MthreadsAssignedGPUIndex = "mthreads.com/gpu-index"
4646
MthreadsAssignedNode = "mthreads.com/predicate-node"
@@ -178,7 +178,7 @@ func (dev *MthreadsDevices) CheckType(annos map[string]string, d util.DeviceUsag
178178
func (dev *MthreadsDevices) CheckUUID(annos map[string]string, d util.DeviceUsage) bool {
179179
userUUID, ok := annos[MthreadsUseUUID]
180180
if ok {
181-
klog.V(5).Infof("check uuid for Iluvatar user uuid [%s], device id is %s", userUUID, d.ID)
181+
klog.V(5).Infof("check uuid for Mthreads user uuid [%s], device id is %s", userUUID, d.ID)
182182
// use , symbol to connect multiple uuid
183183
userUUIDs := strings.Split(userUUID, ",")
184184
for _, uuid := range userUUIDs {

0 commit comments

Comments
 (0)