Skip to content

Commit

Permalink
removing durationValidator and until set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Harter, Nicholas (Contractor) authored and Harter, Nicholas (Contractor) committed Jul 27, 2017
1 parent 2cf694b commit 525089b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/caduceus/senderWrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ func (sw *CaduceusSenderWrapper) Update(list []webhook.W) {
}, len(list))

for i, v := range list {
v.DurationValidator()
v.Until = time.Now().Add(v.Duration)

ids[i].Listener = v
ids[i].ID = v.ID()
}
Expand Down

0 comments on commit 525089b

Please sign in to comment.