tracee icon indicating copy to clipboard operation
tracee copied to clipboard

refactor: clean up tracee-rules/main.go

Open josedonizetti opened this issue 3 years ago • 1 comments
trafficstars

Signed-off-by: Jose Donizetti [email protected]

This is a minor cleanup on tracee-rules/main.go:

  • check for commands vs flags first
  • fix errors returned for the flag rego-runtime-target because the var target is empty
  • change listSigs signature, error return not used
  • minor change for redability

josedonizetti avatar Sep 22 '22 20:09 josedonizetti

LGTM, @josedonizetti, could u check code analysis and I would remove signed off for minor commits (they pollute git log a lot).

rafaeldtinoco avatar Sep 22 '22 20:09 rafaeldtinoco