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

Cli: override default init params with env vars on first run #2167

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Mar 11, 2024

Description of change

Environment variables weren't overriding InitParameters::default() values when running ./wallet for the first time.

That means that the behavior for ./wallet and ./wallet init were different, because only the latter was overriding the defaults with the environment variables.

@Alex6323 Alex6323 marked this pull request as ready for review March 11, 2024 11:01
@Alex6323 Alex6323 added the bug Bug label Mar 11, 2024
@Alex6323 Alex6323 marked this pull request as draft March 11, 2024 11:40
@Alex6323 Alex6323 marked this pull request as ready for review March 11, 2024 13:43
cli/src/cli.rs Outdated Show resolved Hide resolved
@Thoralf-M Thoralf-M merged commit 9ec4481 into iotaledger:2.0 Mar 12, 2024
20 checks passed
@Alex6323 Alex6323 deleted the cli/fix-read-env-vars-on-first-run branch March 12, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants