Skip to content

Commit

Permalink
Fix clone callback
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Feb 26, 2015
1 parent ce72988 commit b5edc91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ func (c *callback) addProcessor(typ string) *callbackProcessor {
}

func (c *callback) clone() *callback {
return &callback{processors: c.processors}
return &callback{
creates: c.creates,
updates: c.updates,
deletes: c.deletes,
queries: c.queries,
processors: c.processors,
}
}

func (c *callback) Create() *callbackProcessor {
Expand Down

0 comments on commit b5edc91

Please sign in to comment.