From 893b9adaa7b089462100967a63916bf936d8f2c0 Mon Sep 17 00:00:00 2001 From: Ridai Govinda Pombo Date: Fri, 20 Mar 2020 17:45:45 -0300 Subject: [PATCH] better ping msg --- cli/remote_build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/remote_build.go b/cli/remote_build.go index ae9ca8ce..c38830e0 100644 --- a/cli/remote_build.go +++ b/cli/remote_build.go @@ -928,7 +928,7 @@ func (cmd *RemoteCmd) submitBuild(project *Project, tagMap map[string]string) er case <-finish: return case <-time.After(5 * time.Second): - if err := wsutil.WriteClientMessage(conn, ws.OpPing, []byte("hi Dispatcher")); err != nil { + if err := wsutil.WriteClientMessage(conn, ws.OpPing, []byte("remotebuild ping")); err != nil { log.Errorf("Cannot send ping: %v", err) } }