Selaa lähdekoodia

Remove Service from GetController

Niko Kovacevic 6 vuotta sitten
vanhempi
sitoutus
4f395fbf65
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      pkg/costmodel/costmodel.go

+ 0 - 4
pkg/costmodel/costmodel.go

@@ -116,10 +116,6 @@ func (cd *CostData) GetController() (name string, kind string, hasController boo
 		name = cd.Jobs[0]
 		kind = "job"
 		hasController = true
-	} else if len(cd.Services) > 0 {
-		name = cd.Services[0]
-		kind = "service"
-		hasController = true
 	}
 
 	return name, kind, hasController