فهرست منبع

continue processing on a single record failure

Signed-off-by: r2k1 <yokree@gmail.com>
r2k1 2 سال پیش
والد
کامیت
877aad8900
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      pkg/costmodel/costmodel.go

+ 1 - 2
pkg/costmodel/costmodel.go

@@ -2555,8 +2555,7 @@ func (cm *CostModel) QueryAllocation(window kubecost.Window, resolution, step ti
 
 					if totals == nil {
 						log.Errorf("unable to locate asset totals for allocation %s", key)
-						return nil, fmt.Errorf("unable to locate allocation totals for allocation")
-
+						continue
 					}
 
 					parc.CPUTotalCost = totals.CPUCost