fix(metanode): hybrid cloud Correct the type conversion error for logCurrentExtentKeys function

Signed-off-by: chihe <chihe@oppo.com>
This commit is contained in:
chihe 2024-02-23 17:12:46 +08:00 committed by AmazingChi
parent 5b867906d2
commit 75658db207

View File

@ -1083,10 +1083,10 @@ func logCurrentExtentKeys(storageClass uint32, sortedEks interface{}, inode uint
} else {
if proto.IsStorageClassReplica(storageClass) {
log.LogInfof("action[fsmUpdateExtentKeyAfterMigration] inode %v current ek %v",
inode, sortedEks.(*SortedObjExtents).eks)
inode, sortedEks.(*SortedExtents).eks)
} else if proto.IsStorageClassBlobStore(storageClass) {
log.LogInfof("action[fsmUpdateExtentKeyAfterMigration] inode %v current ek %v",
inode, sortedEks.(*SortedExtents).eks)
inode, sortedEks.(*SortedObjExtents).eks)
}
}
}