-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The run command has been refractor to make it simpler. The inventory status method does not have a loop anymore and it is called from the agent itself. The health check state is checked before sending update requests. The idea is to reorganize the "inventory" and "healthcheck" into a stateless services and let the agent control everything. This commit does not change the logic of the agent in any way, it just tries to improve organization of the code and the readability. Signed-off-by: Cosmin Tupangiu <[email protected]>
- Loading branch information
Showing
4 changed files
with
172 additions
and
135 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
Oops, something went wrong.