We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aef57e commit 9e8b2cdCopy full SHA for 9e8b2cd
examples/loadbalancer/loadbalancer.go
@@ -23,14 +23,6 @@ func main() {
23
os.Exit(1)
24
}
25
26
- // Enable load balancer functionality for project
27
- _, err = loadbalancerClient.EnableService(context.Background(), projectId).XRequestID("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Execute()
28
- if err != nil {
29
- fmt.Fprintf(os.Stderr, "Error when calling `EnableLoadBalancing`: %v\n", err)
30
- os.Exit(1)
31
- }
32
- fmt.Printf("Enabled load balancer functionality for project %s.\n", projectId)
33
-
34
// List the load balancer instances for your project
35
listInstancesResp, err := loadbalancerClient.ListLoadBalancers(context.Background(), projectId).Execute()
36
if err != nil {
0 commit comments