Skip to content

Commit

Permalink
Use dns.NewService instead of dns.New
Browse files Browse the repository at this point in the history
Fixes build problems caused by concurrent changes
  • Loading branch information
justinsb committed Apr 7, 2020
1 parent eb3bb41 commit 765fa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/gce/gce_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func NewGCECloud(region string, project string, labels map[string]string) (GCECl
}
c.iam = iamService

dnsService, err := dns.New(client)
dnsService, err := dns.NewService(ctx)
if err != nil {
return nil, fmt.Errorf("error building DNS API client: %v", err)
}
Expand Down

0 comments on commit 765fa36

Please sign in to comment.