- fixing the typo on the scheduleNow() method
This commit is contained in:
parent
5031f49461
commit
30db56eadc
2
vault.go
2
vault.go
|
@ -285,7 +285,7 @@ func (r VaultService) authenticate(auth map[string]string) (string, error) {
|
||||||
// rn : a pointer to the watched resource you wish to reschedule
|
// rn : a pointer to the watched resource you wish to reschedule
|
||||||
// ch : the channel the resource should be placed into
|
// ch : the channel the resource should be placed into
|
||||||
func (r VaultService) scheduleNow(rn *watchedResource, ch chan *watchedResource) {
|
func (r VaultService) scheduleNow(rn *watchedResource, ch chan *watchedResource) {
|
||||||
return r.scheduleIn(rn, ch, 0, 0)
|
r.scheduleIn(rn, ch, 0, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// scheduleIn ... schedules an event back into a channel after n seconds
|
// scheduleIn ... schedules an event back into a channel after n seconds
|
||||||
|
|
Reference in a new issue