fix(region): keypair id typo (#20874)

This commit is contained in:
屈轩
2024-07-24 14:35:40 +08:00
committed by GitHub
parent aeb14820c6
commit ede5e6af50
+1 -1
View File
@@ -153,7 +153,7 @@ func (km *SKeypairManager) query(manager db.IModelManager, field string, keyIds
return sq.Query(
sq.Field("keypair_id"),
sqlchemy.COUNT(field),
).In("keypair_id", keyIds).GroupBy(sq.Field("keypir_id")).SubQuery()
).In("keypair_id", keyIds).GroupBy(sq.Field("keypair_id")).SubQuery()
}
type SKeypairUsageCount struct {