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
This commit is contained in:
lishutong
2021-07-20 18:27:07 +00:00
parent fc0431fda1
commit f084110dbe

View File

@@ -35,7 +35,7 @@ export class OTAConfiguration {
* Start the generation process, will throw an error if not succeed * Start the generation process, will throw an error if not succeed
*/ */
async sendForm() { async sendForm() {
for (let flag of OTAExtraFlags.slice(3, OTAflags.length)) { for (let flag of OTAExtraFlags) {
if (this[flag.key]) { if (this[flag.key]) {
this.extra_keys.push(flag.key) this.extra_keys.push(flag.key)
} }