Skip to content

Commit

Permalink
fix(sites): remove traces
Browse files Browse the repository at this point in the history
  • Loading branch information
juligasa committed Sep 18, 2023
1 parent e4fbc16 commit d7d9cd2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/cmd/mintter-site/sites/sites.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ func (ws *Website) RegisterSite(ctx context.Context, hostname string) (link stri

// GetSiteInfo exposes the public information of a site. Which group is serving and how to reach the site via p2p.
func (ws *Website) GetSiteInfo(ctx context.Context, in *groups.GetSiteInfoRequest) (*groups.PublicSiteInfo, error) {

Check warning on line 121 in backend/cmd/mintter-site/sites/sites.go

View workflow job for this annotation

GitHub Actions / lint-go

unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
fmt.Println("INFO CALLED")
n, ok := ws.node.Get()
if !ok {
return nil, errNodeNotReadyYet
Expand Down Expand Up @@ -166,7 +165,6 @@ func (ws *Website) GetSiteInfo(ctx context.Context, in *groups.GetSiteInfoReques

// InitializeServer starts serving a group in this site.
func (ws *Website) InitializeServer(ctx context.Context, in *groups.InitializeServerRequest) (*groups.InitializeServerResponse, error) {
fmt.Println("INIT CALLED")
n, ok := ws.node.Get()
if !ok {
return nil, errNodeNotReadyYet
Expand Down

0 comments on commit d7d9cd2

Please sign in to comment.