Skip to content

Commit

Permalink
WaitForAction is not ZK specific.
Browse files Browse the repository at this point in the history
  • Loading branch information
alainjobart committed May 5, 2014
1 parent e87c580 commit 5c31068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/cmd/vtctl/vtctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ var commands = []commandGroup{
commandGroup{
"Generic", []command{
command{"WaitForAction", commandWaitForAction,
"<zk action path> (/zk/global/vt/keyspaces/<keyspace>/shards/<shard>/action/<action id>)",
"<action path>",
"Watch an action node, printing updates, until the action is complete."},
command{"Resolve", commandResolve,
"<keyspace>.<shard>.<db type>:<port name>",
Expand Down Expand Up @@ -1348,7 +1348,7 @@ func commandMigrateServedFrom(wr *wrangler.Wrangler, subFlags *flag.FlagSet, arg
func commandWaitForAction(wr *wrangler.Wrangler, subFlags *flag.FlagSet, args []string) (string, error) {
subFlags.Parse(args)
if subFlags.NArg() != 1 {
log.Fatalf("action WaitForAction requires <zk action path>")
log.Fatalf("action WaitForAction requires <action path>")
}
return subFlags.Arg(0), nil
}
Expand Down

0 comments on commit 5c31068

Please sign in to comment.