aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/peertube-runner/peertube-runner.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-26 09:03:50 +0200
committerChocobozzz <me@florianbigard.com>2023-05-26 09:04:22 +0200
commitf474a519dc08df47c96ead9e0216912582def4f7 (patch)
treed92bf1219434ce7415f709ca5e707d1e65e9d6a6 /packages/peertube-runner/peertube-runner.ts
parente35967ee084a1cba8ed7bc893209bd69200ca3ca (diff)
downloadPeerTube-f474a519dc08df47c96ead9e0216912582def4f7.tar.gz
PeerTube-f474a519dc08df47c96ead9e0216912582def4f7.tar.zst
PeerTube-f474a519dc08df47c96ead9e0216912582def4f7.zip
Specify runner name when unregistering the runner
Diffstat (limited to 'packages/peertube-runner/peertube-runner.ts')
-rw-r--r--packages/peertube-runner/peertube-runner.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts
index 858d85e6a..32586c4d9 100644
--- a/packages/peertube-runner/peertube-runner.ts
+++ b/packages/peertube-runner/peertube-runner.ts
@@ -55,6 +55,7 @@ program.command('register')
55program.command('unregister') 55program.command('unregister')
56 .description('Unregister the runner from PeerTube instance') 56 .description('Unregister the runner from PeerTube instance')
57 .requiredOption('--url <url>', 'PeerTube instance URL', parseUrl) 57 .requiredOption('--url <url>', 'PeerTube instance URL', parseUrl)
58 .requiredOption('--runner-name <name>', 'Runner name')
58 .action(async options => { 59 .action(async options => {
59 try { 60 try {
60 await unregisterRunner(options) 61 await unregisterRunner(options)