internal: fix travis failure on alts proto (#2079)

This commit is contained in:
Menghan Li
2018-05-16 10:32:11 -07:00
committed by GitHub
parent dbffeabcbc
commit 679ceaae57
2 changed files with 5 additions and 4 deletions

View File

@ -990,8 +990,9 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against. // is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4 const _ = grpc.SupportPackageIsVersion4
// Client API for HandshakerService service // HandshakerServiceClient is the client API for HandshakerService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type HandshakerServiceClient interface { type HandshakerServiceClient interface {
// Handshaker service accepts a stream of handshaker request, returning a // Handshaker service accepts a stream of handshaker request, returning a
// stream of handshaker response. Client is expected to send exactly one // stream of handshaker response. Client is expected to send exactly one
@ -1011,7 +1012,7 @@ func NewHandshakerServiceClient(cc *grpc.ClientConn) HandshakerServiceClient {
} }
func (c *handshakerServiceClient) DoHandshake(ctx context.Context, opts ...grpc.CallOption) (HandshakerService_DoHandshakeClient, error) { func (c *handshakerServiceClient) DoHandshake(ctx context.Context, opts ...grpc.CallOption) (HandshakerService_DoHandshakeClient, error) {
stream, err := grpc.NewClientStream(ctx, &_HandshakerService_serviceDesc.Streams[0], c.cc, "/grpc.gcp.HandshakerService/DoHandshake", opts...) stream, err := c.cc.NewStream(ctx, &_HandshakerService_serviceDesc.Streams[0], "/grpc.gcp.HandshakerService/DoHandshake", opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Copyright 2018 gRPC authors. # Copyright 2018 gRPC authors.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");