summaryrefslogtreecommitdiff
path: root/sdk/build_release.go
diff options
context:
space:
mode:
author Kousik Kumar <kousikk@google.com> 2022-01-25 22:11:01 -0500
committer Kousik Kumar <kousikk@google.com> 2022-01-26 18:40:43 -0500
commit3ff037e3d9b9e5349ff9e183f76c11f218d25f06 (patch)
tree18c6cad1b1a8336f40937633aad1b3b2a1a8c22d /sdk/build_release.go
parenta61dbd457e77b18a160de0574d8b676057acc29e (diff)
Move env var config loading to be within the config package.
When the environment variable config file is loaded after config object is initialized, we end up loading the USE_RBE variable in the config file after the code to start reproxy process is run. This causes a problem when USE_RBE variable itself is set in the config files. To avoid this, I've moved the config file loading code to be within the config package, this makes the main.go file cleaner too. Test: Ran a build with USE_RBE:true set in the config json file. The build fails without this change and succeeds with this change. Bug: b/209486170 Change-Id: Iab3957b64f4b5456a861057d16ad318f4f78e0cb
Diffstat (limited to 'sdk/build_release.go')
0 files changed, 0 insertions, 0 deletions