From f084110dbeb45c151dfc72bfcac6d85e95b07877 Mon Sep 17 00:00:00 2001 From: lishutong Date: Tue, 20 Jul 2021 18:27:07 +0000 Subject: [PATCH] Fix a bug that job might not be able to be started properly. A variable name was mispelled and it could lead to jobs unable to be started. Test: Mannual tested. Change-Id: I4067e2ae243428cb190463f55122b88d471f45f7 --- tools/otagui/src/services/JobSubmission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/otagui/src/services/JobSubmission.js b/tools/otagui/src/services/JobSubmission.js index a3986f6f6..f6acfb54e 100644 --- a/tools/otagui/src/services/JobSubmission.js +++ b/tools/otagui/src/services/JobSubmission.js @@ -35,7 +35,7 @@ export class OTAConfiguration { * Start the generation process, will throw an error if not succeed */ async sendForm() { - for (let flag of OTAExtraFlags.slice(3, OTAflags.length)) { + for (let flag of OTAExtraFlags) { if (this[flag.key]) { this.extra_keys.push(flag.key) }