*: fix gofmt style issues in 'range'

pull/8/head
Gyu-Ho Lee 2017-07-13 09:47:45 -07:00
parent c359265bcd
commit 7ce671beee
2 changed files with 2 additions and 3 deletions

View File

@ -1587,7 +1587,7 @@ func mustContainKeys(b *bolt.Bucket, m map[string]string) {
// Check for keys found in bucket that shouldn't be there.
var keys []string
for k, _ := range found {
for k := range found {
if _, ok := m[string(k)]; !ok {
keys = append(keys, k)
}
@ -1598,7 +1598,7 @@ func mustContainKeys(b *bolt.Bucket, m map[string]string) {
}
// Check for keys not found in bucket that should be there.
for k, _ := range m {
for k := range m {
if _, ok := found[string(k)]; !ok {
keys = append(keys, k)
}

View File

@ -6,7 +6,6 @@ import (
"unsafe"
)
// txPending holds a list of pgids and corresponding allocation txns
// that are pending to be freed.
type txPending struct {