diff options
Diffstat (limited to 'shared/server-commands')
-rw-r--r-- | shared/server-commands/runners/runners-command.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/server-commands/runners/runners-command.ts b/shared/server-commands/runners/runners-command.ts index ca9a1d7a3..b0083e841 100644 --- a/shared/server-commands/runners/runners-command.ts +++ b/shared/server-commands/runners/runners-command.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { pick } from '@shared/core-utils' | 1 | import { pick } from '@shared/core-utils' |
2 | import { buildUUID } from '@shared/extra-utils' | ||
2 | import { HttpStatusCode, RegisterRunnerBody, RegisterRunnerResult, ResultList, Runner, UnregisterRunnerBody } from '@shared/models' | 3 | import { HttpStatusCode, RegisterRunnerBody, RegisterRunnerResult, ResultList, Runner, UnregisterRunnerBody } from '@shared/models' |
3 | import { unwrapBody } from '../requests' | 4 | import { unwrapBody } from '../requests' |
4 | import { AbstractCommand, OverrideCommandOptions } from '../shared' | 5 | import { AbstractCommand, OverrideCommandOptions } from '../shared' |
@@ -68,7 +69,7 @@ export class RunnersCommand extends AbstractCommand { | |||
68 | const { data } = await this.server.runnerRegistrationTokens.list({ sort: 'createdAt' }) | 69 | const { data } = await this.server.runnerRegistrationTokens.list({ sort: 'createdAt' }) |
69 | 70 | ||
70 | const { runnerToken } = await this.register({ | 71 | const { runnerToken } = await this.register({ |
71 | name: 'runner', | 72 | name: 'runner ' + buildUUID(), |
72 | registrationToken: data[0].registrationToken | 73 | registrationToken: data[0].registrationToken |
73 | }) | 74 | }) |
74 | 75 | ||