Explorar el Código

Remove TODOs after discussion

Michael Dresser hace 4 años
padre
commit
34f5475ffb
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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 {
 func (filter AllocationFilterCondition) Matches(a *Allocation) bool {
-	// TODO: For these nil cases, what about != filters?
 	if a == nil {
 	if a == nil {
 		return false
 		return false
 	}
 	}
@@ -181,7 +180,6 @@ func (filter AllocationFilterCondition) Matches(a *Allocation) bool {
 func (and AllocationFilterAnd) Matches(a *Allocation) bool {
 func (and AllocationFilterAnd) Matches(a *Allocation) bool {
 	filters := and.Filters
 	filters := and.Filters
 	if len(filters) == 0 {
 	if len(filters) == 0 {
-		// TODO: Should an empty set of ANDs be true or false?
 		return true
 		return true
 	}
 	}