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

Make configurable skipping pid check in span background command #161

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

lwronski
Copy link
Contributor

Fixes #160.

Copy link
Collaborator

@tobert tobert left a comment

Choose a reason for hiding this comment

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

One small change request for the json key name.

BackgroundParentPollMs int `json:"background_parent_poll_ms" env:""`
BackgroundSockdir string `json:"background_socket_directory" env:""`
BackgroundWait bool `json:"background_wait" env:""`
BackgroundSkipParentPidCheck bool `json:"background_skip_pid_check"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ideally the json will match the variable name here, to be consistent. Usually I prefer to shorten the variable name and let the json key be as long as it takes to be clear. Please switch it to background_skip_parent_pid_check and I'll be happy to merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, so I switched it to background_skip_parent_pid_check

@tobert tobert mentioned this pull request Feb 21, 2023
@tobert tobert merged commit 5c5865c into equinix-labs:main Feb 22, 2023
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.

Allow to disable parent pid checking in span background command
2 participants