Skip to content

Commit

Permalink
chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir committed Jul 23, 2023
1 parent ccfc2cb commit 88f7efa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/endpoints/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package endpoints

import (
"context"
"fmt"
"log"
"net/http"

Expand Down Expand Up @@ -32,9 +31,6 @@ type InstrumentedAppsCount struct {
DaemonSets int `json:"daemonsets"`
}

var labelSelectorInstEnabled = fmt.Sprintf("%s=%s", consts.OdigosInstrumentationLabel, consts.InstrumentationEnabled)
var labelSelectorInstDisabled = fmt.Sprintf("%s=%s", consts.OdigosInstrumentationLabel, consts.InstrumentationDisabled)

func GetNamespaces(c *gin.Context) {
list, err := kube.DefaultClient.CoreV1().Namespaces().List(c.Request.Context(), metav1.ListOptions{})
if err != nil {
Expand Down

0 comments on commit 88f7efa

Please sign in to comment.