-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
--insecure
flag to main command (#18)
Adds a persistent --insecure flag (default value false for compatibility with tracegen command --insecure flag). apmclient.Config gets an additional field, TLSSkipVerify that is by default false and is linked to the TLS_SKIP_VERIFY environment variable. The flag value is used to configure Commands.cfg, it replaces --insecure flag in tracegen command and overrides (previously hardcoded) transport TLS configuration in espoll command. Flag value can also be configured through TLS_SKIP_VERIFY environment variable. Closes #13 Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters