Skip to content

Commit

Permalink
1111
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Oct 23, 2024
1 parent 5d368bc commit e240acd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,17 @@ func (s *Handler) ResourceDistribution(c *gin.Context) {
}

dbmClient := dbmapi.NewDbmClient()
logger.Info("query dbm spec param: %v", param.SpecParam.getQueryParam())
specList, err := dbmClient.GetDbmSpec(param.SpecParam.getQueryParam())
if err != nil {
logger.Error("get dbm spec failed: %v", err)
s.SendResponse(c, err, "Failed to get DBM specifications", "")
return
}
logger.Info("get dbm spec count: %d", len(specList))
for _, spec := range specList {
logger.Info("name:%s,machine type:%s,spec id:%d,info %v", spec.SpecName, spec.SpecMachineType, spec.SpecId, spec)
}
allLogicCityInfos, err := dbmapi.GetAllLogicCityInfo()
if err != nil {
logger.Error("get all logic city info failed: %v", err)
Expand Down

0 comments on commit e240acd

Please sign in to comment.