-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return registration errors to client (#301)
* Return registration errors to client Introduces two new message-types (MsgError and MsgConfig). MsgError is sent when an error is encountered during the registration process. MsgConfig is used to send the elemental configuration to the client, before this was just a raw message with no type so we need to check in the server if the client supports the message, otherwise fallback to the raw message. Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com> * Change registration error message unknown -> unexpected Co-authored-by: Francesco Giudici <francesco.giudici@gmail.com> Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@gmail.com> * Remove InventoryServer receiver argument From writeError method Co-authored-by: Francesco Giudici <francesco.giudici@gmail.com> Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
- Loading branch information
Showing
6 changed files
with
358 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.