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

returning and then print #260

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

Prateeknandle
Copy link
Contributor

@Prateeknandle Prateeknandle commented Feb 9, 2023

Signed-off-by: Prateeknandle prateeknandle@gmail.com
closes #241
refractoring discover api:
changes :

  • returning the discover policy output when ConvertPolicy() is called
  • printing the output is now done by Policy() func, when comand is used

after this we can use discover api to get the discovered policies rather than executing command in code.

@Prateeknandle
Copy link
Contributor Author

Prateeknandle commented Feb 9, 2023

opened pr for go-sec failing issue #261

@Prateeknandle
Copy link
Contributor Author

Prateeknandle commented Feb 9, 2023

why ginkgo-test is failing? ig it is not because of my changes or is it

@Prateeknandle
Copy link
Contributor Author

@PrimalPimmy can you run the ginkgo test workflow again, it is working locally

@Prateeknandle
Copy link
Contributor Author

@PrimalPimmy you can review the pr

@PrimalPimmy
Copy link
Member

@Prateeknandle can you the linting issue that is shown in the files changed section?

@Prateeknandle
Copy link
Contributor Author

@Prateeknandle can you the linting issue that is shown in the files changed section?

updated

@Prateeknandle
Copy link
Contributor Author

Prateeknandle commented Feb 13, 2023

@rksharma95 can we merge this or any review if you want to provide ?

Copy link
Contributor

@rksharma95 rksharma95 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@rksharma95
Copy link
Contributor

@Prateeknandle can you please squash your commits then we can merge this.

@Prateeknandle
Copy link
Contributor Author

@rksharma95 do we need to squah merge commit also?

@rksharma95
Copy link
Contributor

@rksharma95 do we need to squah merge commit also?

don't squash instead undo it and do fetch and rebase then it will not result in another commit.

Signed-off-by: Prateeknandle <prateeknandle@gmail.com>
@rksharma95 rksharma95 merged commit e9dc250 into kubearmor:main Feb 14, 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.

refactor discover pkg apis
3 participants