Skip to content

Commit

Permalink
fix staticcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed Oct 5, 2023
1 parent 2fb1223 commit b6ca2fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package main

import "context"

// really stupid simple algorithm where we just delete things until weve deleted enough things
// GC is a really stupid simple algorithm where we just delete things until
// weve deleted enough things
func (nd *Node) GC(ctx context.Context, todelete int64) error {
keys, err := nd.blockstore.AllKeysChan(ctx)
if err != nil {
Expand Down
3 changes: 2 additions & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (

var name = "rainbow"
var version = buildVersion()
var userAgent = name + "/" + version

// var userAgent = name + "/" + version

func buildVersion() string {
var revision string
Expand Down

0 comments on commit b6ca2fc

Please sign in to comment.