Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
api, storage: minor refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Oct 8, 2019
1 parent d9a7bfe commit 6bfbfd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion api/http/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func TestGetTagUsingHash(t *testing.T) {

if tag.Anonymous != true {
t.Fatalf("expected tag anonymous field to be %t but got %t", true, tag.Anonymous)

}

if !strings.HasPrefix(tag.Name, "unnamed_tag_") {
Expand Down
1 change: 0 additions & 1 deletion storage/localstore/mode_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func (db *DB) set(mode chunk.ModeSet, addrs ...chunk.Address) (err error) {

case chunk.ModeSetSyncPush, chunk.ModeSetSyncPull:
for _, addr := range addrs {

c, err := db.setSync(batch, addr, mode)
if err != nil {
return err
Expand Down

0 comments on commit 6bfbfd0

Please sign in to comment.