-
Notifications
You must be signed in to change notification settings - Fork 2k
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
A raw fork/exec driver that provides no isolation. #237
Conversation
👍 |
func (d *RawExecDriver) Fingerprint(cfg *config.Config, node *structs.Node) (bool, error) { | ||
// Check that the user has explicitly enabled this executor. | ||
enabled := strings.ToLower(cfg.ReadDefault(rawExecConfigOption, "false")) | ||
if enabled == "1" || enabled == "true" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use strconv.ParseBool
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice I didn't know about this 👍
A few minor comments, but LGTM! |
A raw fork/exec driver that provides no isolation.
nice - is there an ETA for a binary release with this included? |
@jippi This will come out in 0.2.0 but we don't have a release date yet. If you'd like to try this out in advance you can build from master. |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
A raw fork/exec driver that provides no isolation.
Addresses #213