Prechádzať zdrojové kódy

Remove TODOs after discussion

Michael Dresser 4 rokov pred
rodič
commit
34f5475ffb
1 zmenil súbory, kde vykonal 0 pridanie a 2 odobranie
  1. 0 2
      pkg/kubecost/allocationfilter.go

+ 0 - 2
pkg/kubecost/allocationfilter.go

@@ -86,7 +86,6 @@ type AllocationFilterAnd struct {
 }
 
 func (filter AllocationFilterCondition) Matches(a *Allocation) bool {
-	// TODO: For these nil cases, what about != filters?
 	if a == nil {
 		return false
 	}
@@ -181,7 +180,6 @@ func (filter AllocationFilterCondition) Matches(a *Allocation) bool {
 func (and AllocationFilterAnd) Matches(a *Allocation) bool {
 	filters := and.Filters
 	if len(filters) == 0 {
-		// TODO: Should an empty set of ANDs be true or false?
 		return true
 	}