Skip to content

Commit

Permalink
correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Nov 19, 2024
1 parent 19a3028 commit 26c787b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/loadbalancer/loadbalancer_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func runLoadBalancerCreate(args []string) {
Error: You must provide at least one backend or instance pool for the load balancer.
Example with backends:
civo loadbalancer create my-loadbalancer --backend "ip:10.0.0.1,source-port:80,target-port:8080,protocol:http" --backend "ip:10.0.0.2,source-port:80,target-port:8080,protocol:http"
civo loadbalancer create my-loadbalancer --backend "ip:10.0.0.1,source-port:80,target-port:8080,protocol:http,health-check-port:8080,protocol:TCP"
Example with instance pools:
civo loadbalancer create my-loadbalancer --instance-pool "tags:web,source-port:80,target-port:8080,protocol:http" --instance-pool "tags:db,source-port:80,target-port:3306,protocol:tcp"
Expand Down

0 comments on commit 26c787b

Please sign in to comment.