Add go vet check (#430)

* Add go vet check

* Replace go vet with go tool vet to avoid printing exit message
This commit is contained in:
Ta-Ching Chen
2018-01-22 09:28:16 -08:00
committed by Soam Vasani
parent db372c11eb
commit 8df520721c
6 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ func (ws *watchSubscription) eventDispatchLoop() {
if ev.Type == watch.Error {
e := errors.FromObject(ev.Object)
log.Println("Watch error, retrying in a second: %v", e)
log.Printf("Watch error, retrying in a second: %v", e)
// Start from the beginning to get around "too old resource version"
ws.lastResourceVersion = ""
time.Sleep(time.Second)