From 270fa00e54c564b671d2d69524620e63483967ff Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Thu, 18 Feb 2016 11:54:13 -0800 Subject: [PATCH] integration: fix go vet -shadow error breaking go tip --- integration/v3_watch_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/v3_watch_test.go b/integration/v3_watch_test.go index 5814c9f13..fc5e8df25 100644 --- a/integration/v3_watch_test.go +++ b/integration/v3_watch_test.go @@ -188,7 +188,8 @@ func TestV3WatchFromCurrentRevision(t *testing.T) { t.Fatalf("#%d: wAPI.Watch error: %v", i, err) } - if err := wStream.Send(tt.watchRequest); err != nil { + err = wStream.Send(tt.watchRequest) + if err != nil { t.Fatalf("#%d: wStream.Send error: %v", i, err) }