Skip to content

Commit

Permalink
fix: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
saman2000hoseini committed Oct 25, 2023
1 parent 789b475 commit 4567201
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/hubble-middleware/handler/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package handler

import (
"context"
"fmt"
"gitlab.snapp.ir/snappcloud/hubble-middleware/internal/auth"
"net/http"
"slices"
Expand Down Expand Up @@ -77,7 +76,6 @@ func (h *ProjectHandler) getUserProjects(username string, groups []string) ([]st
projects = append(projects, item.ObjectMeta.Name)
}

fmt.Printf("projects: %+v\n", projects)
return projects, err
}

Expand All @@ -100,6 +98,5 @@ func (h *ProjectHandler) getUserGroups(username string) ([]string, error) {
}
}

fmt.Printf("groups: %+v\n", groups)
return groups, err
}

0 comments on commit 4567201

Please sign in to comment.