commit | 8cb6c6ec12e0051207b064e6fa4dc2eaafdc0235 | [log] [tgz] |
---|---|---|
author | Nandhini Rengaraj <nrengaraj@google.com> | Mon Aug 28 21:58:17 2023 +0000 |
committer | Nandhini Rengaraj <nrengaraj@google.com> | Mon Aug 28 22:29:56 2023 +0000 |
tree | ef194b1df618790d228667f5b49b1dc6cf9bc2ee | |
parent | 445efd92e09fc630b8840992eddb67d99b67b279 [diff] |
cos/tools: Fix http client credentials check for changelog JSON file in google.Credentials maybe empty if authentication is provided by the environment instead of a credential file. This is the case in GCP environments. Remove empty length check to proceed even if JSON is empty. Also, fix typos and resolve errors in unit tests. BUG=b/297072390 RELEASE_NOTE=None Change-Id: I630a8d74693298579da6662a0d1ce12d13abea70 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/56347 Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com> Tested-by: Nandhini Rengaraj <nrengaraj@google.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.