Browse Source

e2e: Fix govet errors

Manjunath A Kumatagi 8 years ago
parent
commit
b0d3c07fe5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      e2e/v3_curl_test.go

+ 1 - 1
e2e/v3_curl_test.go

@@ -156,7 +156,7 @@ func testV3CurlTxn(t *testing.T, pathPrefix string) {
 				Key:         []byte("foo"),
 				Result:      pb.Compare_EQUAL,
 				Target:      pb.Compare_CREATE,
-				TargetUnion: &pb.Compare_CreateRevision{0},
+				TargetUnion: &pb.Compare_CreateRevision{CreateRevision: 0},
 			},
 		},
 		Success: []*pb.RequestOp{