Skip to content

Commit

Permalink
Fix hardcoded value of zone for GCE
Browse files Browse the repository at this point in the history
Signed-off-by: Utsav Anand <[email protected]>
  • Loading branch information
utsavanand2 authored and alexellis committed Dec 3, 2019
1 parent 79de77e commit c0b25dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provision/gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (gce *GCEProvisioner) Provision(host BasicHost) (*ProvisionedHost, error) {
Description: "Exit node created by inlets-operator",
MachineType: fmt.Sprintf("zones/%s/machineTypes/%s", host.Additional["zone"], host.Plan),
CanIpForward: true,
Zone: fmt.Sprintf("projects/%s/zones/us-central1-a", host.Additional["projectid"]),
Zone: fmt.Sprintf("projects/%s/zones/%s", host.Additional["projectid"], host.Additional["zone"]),
Disks: []*compute.AttachedDisk{
{
AutoDelete: true,
Expand Down

0 comments on commit c0b25dd

Please sign in to comment.