From 30db56eadcbfc95493037c779e1531dbb6734f50 Mon Sep 17 00:00:00 2001 From: Rohith Date: Fri, 9 Oct 2015 21:08:59 +0100 Subject: [PATCH] - fixing the typo on the scheduleNow() method --- vault.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault.go b/vault.go index 4a82215..2f6ae8d 100644 --- a/vault.go +++ b/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 // ch : the channel the resource should be placed into 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