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

refactor: standardize environment variables naming conventions #252

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

appleboy
Copy link
Owner

@appleboy appleboy commented Apr 13, 2023

  • Modify the EnvVars slice to include INPUT_ prefix when needed
  • Remove unused environment variables from the EnvVars slice
  • Update the EnvVars slice to include PROXY_ prefix when needed
  • Modify the EnvVars slice to include PLUGIN_SSH_CIPHERS as PROXY_SSH_CIPHERS
  • Modify the EnvVars slice to include PLUGIN_PROXY_USE_INSECURE_CIPHER as PROXY_SSH_USE_INSECURE_CIPHER
  • Modify the EnvVars slice to include PLUGIN_PROXY_FINGERPRINT as PROXY_SSH_FINGERPRINT
  • Remove the environment variable PROXY_HOST
  • Modify the EnvVars slice to include PLUGIN_DEBUG as INPUT_DEBUG

…ntions

- Modify the `EnvVars` slice to include `INPUT_` prefix when needed
- Remove unused environment variables from the `EnvVars` slice
- Update the `EnvVars` slice to include `PROXY_` prefix when needed
- Modify the `EnvVars` slice to include `PLUGIN_SSH_CIPHERS` as `PROXY_SSH_CIPHERS`
- Modify the `EnvVars` slice to include `PLUGIN_PROXY_USE_INSECURE_CIPHER` as `PROXY_SSH_USE_INSECURE_CIPHER`
- Modify the `EnvVars` slice to include `PLUGIN_PROXY_FINGERPRINT` as `PROXY_SSH_FINGERPRINT`
- Remove the environment variable `PROXY_HOST`
- Modify the `EnvVars` slice to include `PLUGIN_DEBUG` as `INPUT_DEBUG`

Signed-off-by: Bo-Yi Wu <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Merging #252 (f1cf490) into master (a8d30dc) will not change coverage.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   37.85%   37.85%           
=======================================
  Files           2        2           
  Lines         420      420           
=======================================
  Hits          159      159           
  Misses        261      261           
Impacted Files Coverage Δ
main.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@appleboy appleboy merged commit b9cfca6 into master Apr 13, 2023
@appleboy appleboy deleted the bugs branch April 13, 2023 01:08
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.

2 participants