Skip to content

Commit

Permalink
removed unwanted code from utils.go
Browse files Browse the repository at this point in the history
Signed-off-by: kon3m <[email protected]>
  • Loading branch information
kon3m committed Feb 22, 2024
1 parent 39172ac commit a9fd84f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions controllers/slicegateway/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ func getGwSvcNameFromDepName(depName string) string {
return "svc-" + depName
}

// func contains(s []string, e string) bool {
// for _, a := range s {
// if a == e {
// return true
// }
// }
// return false
// }

func getPodIPs(slicegateway *kubeslicev1beta1.SliceGateway) []string {
podIPs := make([]string, 0)
for i := range slicegateway.Status.GatewayPodStatus {
Expand Down

0 comments on commit a9fd84f

Please sign in to comment.