Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

converted updater initial delay to select statement, updated updater logging to specify binary being updated #812

Merged
merged 12 commits into from
Apr 5, 2022

Conversation

James-Pickett
Copy link
Contributor

No description provided.

Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's pretty close. Nits about logging, and the realization this does need to be outside the for loop

Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty clean. Some nits.

@James-Pickett James-Pickett marked this pull request as ready for review April 4, 2022 21:33
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

We could convert actor.Actor to an interface, or leave that for later.

Comment on lines +73 to +76
return &actor.Actor{
Execute: updateCmd.execute,
Interrupt: updateCmd.interrupt,
}, nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm. Would this be cleaner if actor.Actor defined an interface, not a struct?

@James-Pickett James-Pickett linked an issue Apr 5, 2022 that may be closed by this pull request
@James-Pickett James-Pickett merged commit bffa453 into kolide:master Apr 5, 2022
@James-Pickett James-Pickett deleted the initial_delay_bug branch April 5, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InitialDelay prevents launcher from exiting promptly
3 participants