Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Nov 25, 2024
1 parent 8a11da1 commit 924ff9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/loadbalancer/loadbalancer_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ var loadBalancerCreateCmd = &cobra.Command{
--create-firewall "80;443" \
--algorithm "round_robin" \
--session-affinity "ClientIP" \
--session-affinity-config-timeout 10800 \
--session-affinity-config-timeout 10800 TCP
--external-traffic-policy "Local" \
--backend "ip:10.0.0.1,source-port:80,target-port:8080,protocol:http,health-check-port:8080,protocol:TCP" \
--backend "ip:10.0.0.2,source-port:80,target-port:8080,protocol:http,health-check-port:8080,protocol:TCP"`,
--backend "ip:10.0.0.1|source-port:80|target-port:8080|protocol:TCP|health-check-port:8080 \
--backend "ip:10.0.0.2|source-port:80|target-port:8080|protocol:TCP|health-check-port:8080`,
Short: "Create a new load balancer",
Run: func(cmd *cobra.Command, args []string) {
runLoadBalancerCreate(args)
Expand Down

0 comments on commit 924ff9b

Please sign in to comment.