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:
committed by
Soam Vasani
parent
db372c11eb
commit
8df520721c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user