Browse Source

missing logical not

Sean Holcomb 5 years ago
parent
commit
913f2543d4
1 changed files with 1 additions and 1 deletions
  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
 		}