mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
fix(region): avoid panic (#22048)
This commit is contained in:
@@ -61,6 +61,7 @@ func (asc *SASController) CheckInstanceHealth(ctx context.Context, userCred mccl
|
||||
rows, err := asc.HealthCheckSql().Rows()
|
||||
if err != nil {
|
||||
log.Errorf("GuestManager's SQuery.Rows: %s", err.Error())
|
||||
return
|
||||
}
|
||||
for rows.Next() {
|
||||
var ug sUnnormalGuest
|
||||
|
||||
Reference in New Issue
Block a user