Skip to content

Commit

Permalink
docs(loadbalancer): update command description for change-algorithm (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 authored Nov 21, 2023
1 parent 54ad42a commit 4ce8496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/loadbalancer/change_algorithm.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var ChangeAlgorithmCmd = base.Cmd{
DisableFlagsInUseLine: true,
}

cmd.Flags().String("algorithm-type", "", "The new algorithm of the Load Balancer")
cmd.Flags().String("algorithm-type", "", "New Load Balancer algorithm (round_robin, least_connections) (required)")
cmd.RegisterFlagCompletionFunc("algorithm-type", cmpl.SuggestCandidates(
string(hcloud.LoadBalancerAlgorithmTypeRoundRobin),
string(hcloud.LoadBalancerAlgorithmTypeLeastConnections),
Expand Down

0 comments on commit 4ce8496

Please sign in to comment.