mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-13 04:36:58 +00:00
Does not have to be blocked forever when executed in 'pod' mode in a job
The logs of the job can be retrieved even when the job is completed.
This commit is contained in:
@@ -112,8 +112,5 @@ def main():
|
||||
handler.free()
|
||||
logging.debug("Cleaned Queue")
|
||||
|
||||
if config.pod:
|
||||
while True: time.sleep(5)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user