Skip to content

Commit

Permalink
Leave info
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Jul 4, 2019
1 parent 0019ef9 commit 5f261bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/leave.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ var leaveCmd = &cobra.Command{
Short: "Force an agent to leave the cluster",
Long: `Stop stops an agent, if the agent is a server and is running for election
stop running for election, if this server was the leader
this will force the cluster to elect a new leader and start a new scheduler.
If this is a server and has the scheduler started stop it, ignoring if this server
was participating in leader election or not (local storage).
Then actually leave the cluster.`,
this will force the cluster to elect a new leader and start a new scheduler.`,
RunE: func(cmd *cobra.Command, args []string) error {
var gc dkron.DkronGRPCClient
gc = dkron.NewGRPCClient(nil, nil)
Expand Down

0 comments on commit 5f261bb

Please sign in to comment.