Skip to content
Snippets Groups Projects
Commit 0621feb6 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

typo

parent 41744be8
No related branches found
No related tags found
2 merge requests!116Resolve "Transport Tests",!90Develop
...@@ -158,7 +158,7 @@ func (a *accessTokenCred) GetRequestMetadata(ctx context.Context, ...@@ -158,7 +158,7 @@ func (a *accessTokenCred) GetRequestMetadata(ctx context.Context,
func (a *accessTokenCred) RequireTransportSecurity() bool { return true } func (a *accessTokenCred) RequireTransportSecurity() bool { return true }
// DialContext connects to a gnmi service and returns a ciena // DialContext connects to a gnmi service and returns a client
func DialContext(ctx context.Context, cfg *Config) (pb.GNMIClient, error) { func DialContext(ctx context.Context, cfg *Config) (pb.GNMIClient, error) {
opts := append([]grpc.DialOption(nil), cfg.DialOptions...) opts := append([]grpc.DialOption(nil), cfg.DialOptions...)
...@@ -235,7 +235,7 @@ func DialContext(ctx context.Context, cfg *Config) (pb.GNMIClient, error) { ...@@ -235,7 +235,7 @@ func DialContext(ctx context.Context, cfg *Config) (pb.GNMIClient, error) {
return pb.NewGNMIClient(grpcconn), nil return pb.NewGNMIClient(grpcconn), nil
} }
// Dial connects to a gnmi service and returns a ciena // Dial connects to a gnmi service and returns a client
func Dial(cfg *Config) (pb.GNMIClient, error) { func Dial(cfg *Config) (pb.GNMIClient, error) {
return DialContext(context.Background(), cfg) return DialContext(context.Background(), cfg)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment