mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-05 06:46:48 +00:00
removed not needed comments
This commit is contained in:
parent
181af1694c
commit
79803600de
1 changed files with 5 additions and 2 deletions
|
@ -744,11 +744,14 @@ func (m methodREQPing) handler(proc process, message Message, node string) ([]by
|
|||
// TODO: Replace this with an append to file on receival.
|
||||
log.Printf("<--- PING REQUEST received from: %v, containing: %v", message.FromNode, message.Data)
|
||||
|
||||
// ---
|
||||
|
||||
// ---
|
||||
|
||||
proc.processes.wg.Add(1)
|
||||
go func() {
|
||||
defer proc.processes.wg.Done()
|
||||
// Prepare and queue for sending a new message with the output
|
||||
// of the action executed.
|
||||
|
||||
d := fmt.Sprintf("%v, ping reply sent from %v\n", time.Now().UTC(), message.ToNode)
|
||||
newReplyMessage(proc, message, []byte(d))
|
||||
}()
|
||||
|
|
Loading…
Add table
Reference in a new issue