mirror of
https://github.com/postmannen/ctrl.git
synced 2025-04-09 10:24:17 +00:00
fixed type error when creating error message subject
This commit is contained in:
parent
5cb3aab412
commit
32c70dbc59
1 changed files with 1 additions and 6 deletions
|
@ -175,14 +175,9 @@ func sendErrorLogMessage(newMessagesCh chan<- []subjectAndMessage, FromNode node
|
|||
// createErrorMsgContent will prepare a subject and message with the content
|
||||
// of the error
|
||||
func createErrorMsgContent(FromNode node, theError error) subjectAndMessage {
|
||||
// TESTING: Creating an error message to send to errorCentral
|
||||
fmt.Printf(" --- Sending error message to central !!!!!!!!!!!!!!!!!!!!!!!!!!!!\n")
|
||||
sam := subjectAndMessage{
|
||||
Subject: Subject{
|
||||
ToNode: "errorCentral",
|
||||
CommandOrEvent: EventNACK,
|
||||
Method: ErrorLog,
|
||||
},
|
||||
Subject: newSubject(ErrorLog, "errorCentral"),
|
||||
Message: Message{
|
||||
ToNode: "errorCentral",
|
||||
FromNode: FromNode,
|
||||
|
|
Loading…
Add table
Reference in a new issue