Explorar el Código

missing logical not

Sean Holcomb hace 5 años
padre
commit
913f2543d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pkg/kubecost/allocation.go

+ 1 - 1
pkg/kubecost/allocation.go

@@ -1525,7 +1525,7 @@ func (as *AllocationSet) ReconcileAllocations(assetSet *AssetSet) error {
 
 		// Reconcile with node Assets
 		node, ok := nodeByProviderID[providerId]
-		if ok {
+		if !ok {
 			// Failed to find node for allocation
 			return
 		}