vault/command/agent/config
Daniel Huckins d1e1abd2c7
VAULT-19681 allow users to specify files for agent child process stdout/stderr (#22812)
* allow users to specify files for child process stdout/stderr

* added changelog

* check if exec config is nil

* fix test

* first attempt at a test

* revise test

* passing test

* added failing test

* Apply suggestions from code review

Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>

* code review suggestions

* always close log files

* refactor to use real files

* hopefully fixed tests

* add back bool gates so we don't close global stdout/stderr

* compare to os.Stdout/os.Stderr

* remove unused

---------

Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
2023-09-12 13:54:37 -04:00
..
test-fixtures [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config.go VAULT-19681 allow users to specify files for agent child process stdout/stderr (#22812) 2023-09-12 13:54:37 -04:00