[autotest] Set job_labels to the job labels when calling run().
Otherwise we don't actually provision anything.
BUG=chromium:366331
TEST=machines now provision
Change-Id: I008fe79d8b596ea9f83a4eafce9fc164d3513eb9
Reviewed-on: https://chromium-review.googlesource.com/196689
Reviewed-by: Prashanth B <beeps@chromium.org>
Tested-by: Alex Miller <milleral@chromium.org>
diff --git a/server/server_job.py b/server/server_job.py
index fa9c87f..1936b01 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -424,9 +424,8 @@
host to.
"""
- namespace = {'job_labels': labels}
control = self._load_control_file(PROVISION_CONTROL_FILE)
- self.run(control=control, namespace=namespace)
+ self.run(control=control, job_labels=labels)
def precheck(self):