Преглед на файлове

Recognizes annotations when aggregating by owner

Signed-off-by: nickcurie <nick.curie64@gmail.com>
nickcurie преди 3 години
родител
ревизия
bb2410bf07
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      pkg/kubecost/allocationprops_test.go

+ 11 - 0
pkg/kubecost/allocationprops_test.go

@@ -12,7 +12,11 @@ func TestGenerateKey(t *testing.T) {
 		allocationProps *AllocationProperties
 		allocationProps *AllocationProperties
 		expected        string
 		expected        string
 	}{
 	}{
+<<<<<<< HEAD
 		"aggregateregate by owner without owner labels": {
 		"aggregateregate by owner without owner labels": {
+=======
+		"agg by owner with labels": {
+>>>>>>> Recognizes annotations when aggregating by owner
 			aggregate: []string{"owner"},
 			aggregate: []string{"owner"},
 			allocationProps: &AllocationProperties{
 			allocationProps: &AllocationProperties{
 				Labels:      map[string]string{"app": "cost-analyzer"},
 				Labels:      map[string]string{"app": "cost-analyzer"},
@@ -20,13 +24,18 @@ func TestGenerateKey(t *testing.T) {
 			},
 			},
 			expected: "test owner 123",
 			expected: "test owner 123",
 		},
 		},
+<<<<<<< HEAD
 		"aggregate by owner without labels": {
 		"aggregate by owner without labels": {
+=======
+		"agg by owner without labels": {
+>>>>>>> Recognizes annotations when aggregating by owner
 			aggregate: []string{"owner"},
 			aggregate: []string{"owner"},
 			allocationProps: &AllocationProperties{
 			allocationProps: &AllocationProperties{
 				Annotations: map[string]string{"owner": "test owner 123"},
 				Annotations: map[string]string{"owner": "test owner 123"},
 			},
 			},
 			expected: "test owner 123",
 			expected: "test owner 123",
 		},
 		},
+<<<<<<< HEAD
 		"aggregate by owner with owner label and annotation": {
 		"aggregate by owner with owner label and annotation": {
 			aggregate: []string{"owner"},
 			aggregate: []string{"owner"},
 			allocationProps: &AllocationProperties{
 			allocationProps: &AllocationProperties{
@@ -75,6 +84,8 @@ func TestGenerateKey(t *testing.T) {
 			},
 			},
 			expected: "product-label/owner-label",
 			expected: "product-label/owner-label",
 		},
 		},
+=======
+>>>>>>> Recognizes annotations when aggregating by owner
 	}
 	}
 
 
 	for name, tc := range cases {
 	for name, tc := range cases {