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

support json value for hooks #525

Merged
merged 1 commit into from
Nov 28, 2017

Conversation

Mashimiao
Copy link

As discussed in #470, there is not suitable separators for hooks.
Because of path may contains them.
So, decide to support json value for hooks.

Signed-off-by: Ma Shimiao [email protected]

@@ -387,6 +381,9 @@ _oci-runtime-tool_generate() {

local boolean_options="
--help -h
--hooks-poststart-remove-all
--hooks-poststop-remove-all
--hooks-prestart-remove-add

Choose a reason for hiding this comment

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

add -> all

Copy link
Author

Choose a reason for hiding this comment

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

updated

As discussed in opencontainers#470, there is not suitable separators for hooks.
Because of path may contains them.
So, decide to support json value for hooks.

Signed-off-by: Ma Shimiao <[email protected]>
@zhouhao3
Copy link

zhouhao3 commented Nov 28, 2017

LGTM

Approved with PullApprove

@liangchenye
Copy link
Member

liangchenye commented Nov 28, 2017

LGTM
I think it is the best choice so far.

Approved with PullApprove

@liangchenye liangchenye merged commit 5edfd7f into opencontainers:master Nov 28, 2017
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.

3 participants