셀프 업데이트 완료
This commit is contained in:
@ -32,6 +32,7 @@ import (
|
||||
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials/insecure"
|
||||
"google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
type runcommand struct {
|
||||
@ -716,7 +717,9 @@ func (hc *houstonClient) Start() {
|
||||
if client != nil {
|
||||
err := hc.checkOperation(client)
|
||||
if err != nil {
|
||||
logger.Println("grpc.DialContext hc.checkOperation failed :", err)
|
||||
if status.Convert(err).Message() != status.Convert(context.Canceled).Message() {
|
||||
logger.Println("grpc.DialContext hc.checkOperation failed :", err)
|
||||
}
|
||||
client = nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user