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

Added network config var for gauntlet #953

Merged
merged 2 commits into from
May 20, 2024
Merged

Added network config var for gauntlet #953

merged 2 commits into from
May 20, 2024

Conversation

smickovskid
Copy link
Contributor

@smickovskid smickovskid commented May 14, 2024

  • Added network config var for gauntlet

Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce the ability to write individual network configuration variables to a file and enhance the handling of duplicate network configuration variables. This ensures efficient configuration management and prevents duplication in network configurations.

What

  • gauntlet/gauntlet.go
    • Added WriteNetworkConfigVar function: This function allows writing a single network configuration variable to the .env file corresponding to the network. This modular approach facilitates more granular control over network configuration updates.
    • Modified AddNetworkConfigVar function: Inserted a check to prevent adding a network configuration variable if it already exists with the same value. This prevents duplicates in the network configuration, ensuring cleaner and more reliable configuration files.

@cl-sonarqube-production
Copy link

@smickovskid smickovskid merged commit b994043 into main May 20, 2024
16 of 17 checks passed
@smickovskid smickovskid deleted the BCI-2848 branch May 20, 2024 08:56
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.

None yet

2 participants