mirror of
https://github.com/docker/docs.git
synced 2026-11-01 22:34:29 +03:00
Changing docstring to re-trigger CI
Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
@@ -14,8 +14,7 @@ import (
|
||||
"google.golang.org/grpc/credentials"
|
||||
)
|
||||
|
||||
// The only thing needed from grpc.ClientConn - specifying an interface
|
||||
// so that the connection can be stubbed out in tests.
|
||||
// The only thing needed from grpc.ClientConn is it's state.
|
||||
type checkableConnectionState interface {
|
||||
State() grpc.ConnectivityState
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ func (c StubKeyManagementClient) CheckHealth(x context.Context,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &pb.HealthStatus{status}, nil
|
||||
return &pb.HealthStatus{Status: status}, nil
|
||||
}
|
||||
|
||||
type StubSignerClient struct {
|
||||
@@ -37,7 +37,7 @@ func (c StubSignerClient) CheckHealth(x context.Context, v *pb.Void,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &pb.HealthStatus{status}, nil
|
||||
return &pb.HealthStatus{Status: status}, nil
|
||||
}
|
||||
|
||||
type StubGRPCConnection struct {
|
||||
|
||||
Reference in New Issue
Block a user