Explorar o código

e2e: Fix govet errors

Manjunath A Kumatagi %!s(int64=8) %!d(string=hai) anos
pai
achega
b0d3c07fe5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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{