Closed kirecek closed 3 years ago
This snippet sets the projectID to value fetched from GCE metadata:
projectID
if *projectID == "" { *projectID = getGCEProjectID() }
However, this does not work because projectID cannot be empty due to required flag in kingpin config.
This MR removes the required thing and adds a little bit logging around the projectID setting.
This snippet sets the
projectID
to value fetched from GCE metadata:However, this does not work because projectID cannot be empty due to required flag in kingpin config.
This MR removes the required thing and adds a little bit logging around the projectID setting.