Skip to content

Conversation

@peng-yq
Copy link

@peng-yq peng-yq commented Sep 11, 2023

Feature

Add "--log-path" to allow users to enable logging the oci-add-hooks for debugging purposes.

Why i send this pull request?

I encountered some errors while using oci-add-hooks, but it didn't have a logging feature. Initially, I had to rely on Google to troubleshoot the errors, but I couldn't find a solution. As a result, I added some logs to oci-add-hooks and discovered that the issue was with hookconfig.json. I think oci-add-hooks should have an optional logging feature, so I submitted this pull request.

Description of changes:

  1. update main.go to make ''--log-path" optional
  2. update and fix some errors in README.md
  3. add "add_to_bin.sh"

All the modifications have successfully passed the tests and have been validated within a Docker environment.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

1. update main.go to make ''--log-path" optional
2. update and fix some errors in README.md
3. add "add_to_bin.sh"
@peng-yq peng-yq requested a review from a team as a code owner September 11, 2023 08:01
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.

1 participant