Browse Source

Fix AFAnd String() -> "and" instead of "or"

Michael Dresser 3 years ago
parent
commit
25212855eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/kubecost/allocationfilter.go

+ 1 - 1
pkg/kubecost/allocationfilter.go

@@ -138,7 +138,7 @@ type AllocationFilterAnd struct {
 }
 }
 
 
 func (af AllocationFilterAnd) String() string {
 func (af AllocationFilterAnd) String() string {
-	s := "(or"
+	s := "(and"
 	for _, f := range af.Filters {
 	for _, f := range af.Filters {
 		s += fmt.Sprintf(" %s", f)
 		s += fmt.Sprintf(" %s", f)
 	}
 	}