Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fionera committed Nov 7, 2023
1 parent 27166d1 commit 083c742
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 634 deletions.
2 changes: 1 addition & 1 deletion cmd/spop/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (f *frontend) HandleSPOEValidate(_ context.Context, w *encoding.ActionWrite
readExpectedKVEntry(m, k, "cookie")
err := f.bh.IsValidCookie(ri, k.ValueBytes())
if err != nil && debug {
log.Println(fmt.Sprintf("IsValidCookie: %v", err))
log.Printf("IsValidCookie: %v", err)
}
isValidCookie := err == nil

Expand Down
2 changes: 1 addition & 1 deletion cmd/spop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (i *instance) HandleSPOE(ctx context.Context, w *encoding.ActionWriter, m *
panic(fmt.Sprintf("error while reading KV: %v", err))
}

panic(fmt.Sprintf("failed reading fronted argument"))
panic("failed reading fronted argument")
}

if !k.NameEquals("frontend") {
Expand Down
Loading

0 comments on commit 083c742

Please sign in to comment.