Fix ctl slave generate-token command

Fix missing link -> libLink rename in clusterioctl slave generate-token
command as well as missing this reference.
This commit is contained in:
Hornwitser committed 2020-11-07 17:53:57 +01:00
1 parent 6cb33a8b63
commit 3ce32ba870
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ slaveCommands.add(new libCommand.Command({
yargs.option("id", { type: "number", nargs: 1, describe: "Slave id", demandOption: true });
}],
handler: async function(args, control) {
let response = await link.messages.generateSlaveToken.send(control, { slave_id: args.id });
let response = await libLink.messages.generateSlaveToken.send(control, { slave_id: args.id });
console.log(response.token);
},
}));