Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu committed Mar 15, 2018
1 parent 0b2eaf1 commit 16bcf18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ package internal
import (
"context"
"fmt"
"time"
"sync"
"time"

"go.uber.org/cadence/encoded"

Expand Down
2 changes: 1 addition & 1 deletion internal/internal_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ func getOrCreateTaggedScope(m sync.Map, scope tally.Scope, tagName, tagValue str
taggedScope, _ = m.Load(tagValue)
}
if taggedScope == nil {
panic("metric scope cannot be tagged") // This should never happen
panic("metric scope cannot be tagged") // This should never happen
}
return taggedScope.(tally.Scope)
}
Expand Down

0 comments on commit 16bcf18

Please sign in to comment.