Skip to content

Commit

Permalink
Merge pull request #9 from vthiruveedula/dev-log-fix
Browse files Browse the repository at this point in the history
Dev log fix
  • Loading branch information
thakurajayL authored Nov 2, 2022
2 parents f0067c8 + 239644e commit 731cfa4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drsm/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ func (c *chunk) AllocateIntID() int32 {
logger.AppLog.Debugf("FreeIds in chunk 0")
return 0
}
var s string
for k, _ := range c.FreeIds {
s += fmt.Sprint(c.FreeIds[k])
s += " "
}
log.Printf("Free IDs: %s", s)
id := c.FreeIds[len(c.FreeIds)-1]
c.FreeIds = c.FreeIds[:len(c.FreeIds)-1]
return (c.Id << 10) | id
Expand Down

0 comments on commit 731cfa4

Please sign in to comment.