Browse Source

Merge pull request #4561 from heyitsanthony/gotip-shadow

integration: fix go vet -shadow error
Anthony Romano 9 years ago
parent
commit
c9d233d69a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      integration/v3_watch_test.go

+ 2 - 1
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)
 		}