GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

[Bug]: `unbound variable` error when running `sandboxctl` #1045

Closed lvaylet closed 1 year ago

lvaylet commented 1 year ago

Version of Cloud Ops Sandbox

0.9.2

Your client machine OS?

Linux

Tell us, what is a problem?

With a fresh git clone installation, sandboxctl outputs an unbound variable error on every call. No big deal but users might wonder if something is wrong.

Example:

XXXXXXXX@cloudshell:~/cloud-ops-sandbox/provisioning$ ./sandboxctl
./sandboxctl: line 214: VERSION: unbound variable
sandboxctl 
usage: sandboxctl [SUBCOMMAND] [OPTION]...

Create or destroy Cloud Ops Sandbox in a Google Cloud environment. Options
specified over flags 

SUBCOMMANDS:
  create                              Create will attempt to launch a new Cloud
                                      Ops Sandbox
[...]

What you expected to happen?

I expected the current version of sandboxctl to be displayed instead of the unbound variable error.

Code of Conduct