-
Notifications
You must be signed in to change notification settings - Fork 39
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
Config update command #1233
Config update command #1233
Commits on Nov 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 673792a - Browse repository at this point
Copy the full SHA 673792aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bc4924 - Browse repository at this point
Copy the full SHA 0bc4924View commit details -
[1216]: It turns out that the unpack command is exactly what's needed…
… for update. So Just add that as an alias, and a little extra note in the Long entry for it.
Configuration menu - View commit details
-
Copy full SHA for ec0744c - Browse repository at this point
Copy the full SHA ec0744cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c450a - Browse repository at this point
Copy the full SHA 06c450aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2fc417 - Browse repository at this point
Copy the full SHA c2fc417View commit details -
[1216]: When loading a FieldValueMap into viper, Instead of loading s…
…ectioned keys into viper as the full thing, use a section entry with each sub-key in that. That's how it gets loaded when being read from a file. And since we now want to load the defaults (via FieldValueMap) then, if the file exists, read/load it, we ended up with things in two places. It was either do this or change all the file loading to manually read the file, create FieldValueMaps from it and give that to viper.
Configuration menu - View commit details
-
Copy full SHA for 8361b00 - Browse repository at this point
Copy the full SHA 8361b00View commit details -
[1216]: Create a DefaultAppConfig that applies our default min-gas-pr…
…ices to the object and use that instead of serverconfig.DefaultConfig where needed. The result is that all the config stuff no longer thinks the default min-gas-prices is an empty string. Plus, if the app.toml doesn't exist, viper ends up with our default for min-gas-prices too. Also, use the new AsConfigMap for creating the config map in addFieldMapToViper.
Configuration menu - View commit details
-
Copy full SHA for bce463f - Browse repository at this point
Copy the full SHA bce463fView commit details -
[1216]: Update the config tests (slightly) to account for the default…
… min-gas-prices being what we've defined and add a test to the packed config that makes sure that default is being applied.
Configuration menu - View commit details
-
Copy full SHA for 931e472 - Browse repository at this point
Copy the full SHA 931e472View commit details -
[1216]: In the manager tests, switch to DefaultAppConfig as needed an…
…d add a canary for the global-labels special handling.
Configuration menu - View commit details
-
Copy full SHA for ec6ddc6 - Browse repository at this point
Copy the full SHA ec6ddc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b457c - Browse repository at this point
Copy the full SHA e4b457cView commit details -
[1216]: Undo a small change to one of the tests that isn't actually n…
…eeded (was just for troubleshooting).
Configuration menu - View commit details
-
Copy full SHA for d65be24 - Browse repository at this point
Copy the full SHA d65be24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 641437f - Browse repository at this point
Copy the full SHA 641437fView commit details
Commits on Nov 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c793139 - Browse repository at this point
Copy the full SHA c793139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 222d89c - Browse repository at this point
Copy the full SHA 222d89cView commit details