diff --git a/cmd/argocd-repo-server/commands/argocd_repo_server.go b/cmd/argocd-repo-server/commands/argocd_repo_server.go index 0aa291ef104c7..f80968cf76f37 100644 --- a/cmd/argocd-repo-server/commands/argocd_repo_server.go +++ b/cmd/argocd-repo-server/commands/argocd_repo_server.go @@ -5,7 +5,6 @@ import ( "math" "net" "net/http" - "regexp" "time" "github.com/argoproj/pkg/stats" diff --git a/reposerver/repository/repository.go b/reposerver/repository/repository.go index e172a9e92b5b2..eb65f408bd02d 100644 --- a/reposerver/repository/repository.go +++ b/reposerver/repository/repository.go @@ -2605,7 +2605,6 @@ func (s *Service) GetGitFiles(_ context.Context, request *apiclient.GitFilesRequ } func (s *Service) GetGitDirectories(_ context.Context, request *apiclient.GitDirectoriesRequest) (*apiclient.GitDirectoriesResponse, error) { - log.Infof("Im new and env is %t", s.initConstants.IncludeHiddenDirectories) repo := request.GetRepo() revision := request.GetRevision() noRevisionCache := request.GetNoRevisionCache() @@ -2618,7 +2617,6 @@ func (s *Service) GetGitDirectories(_ context.Context, request *apiclient.GitDir return nil, status.Errorf(codes.Internal, "unable to resolve git revision %s: %v", revision, err) } - log.Infof("Im new and env is %t", s.initConstants.IncludeHiddenDirectories) // check the cache and return the results if present if cachedPaths, err := s.cache.GetGitDirectories(repo.Repo, revision); err == nil { log.Debugf("cache hit for repo: %s revision: %s", repo.Repo, revision)