Commit e37d9c7b authored by Simone Rossi's avatar Simone Rossi

[fix] Fix typo

parent 722a5e2d
Pipeline #11163 canceled with stages
......@@ -37,10 +37,10 @@ from zoe_cmd.utils import read_auth
from zoe_cmd.api_lib import ZoeAPI
import zoe_lib.exceptions
from zoe_lib.state.execution import Execution
from zoe_api.entrypoint import LOG_FORMAT
from zoe_cmd.api_lib.api_base import retry
LOG_FORMAT = '[%(asctime)-15s %(levelname)s %(name)s] %(message)s'
logger = logging.getLogger()
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
logging.getLogger("requests").setLevel(logging.WARNING)
......@@ -260,6 +260,7 @@ def main():
zapp_cores, zapp_memory = get_zapp_resources(zapp)
job_count = 0
job_ids = []
while len(list_of_jobs) != 0:
number_new_jobs = len(list_of_jobs)
......@@ -290,6 +291,7 @@ def main():
logger.error('Continuous failing while submitting new execution. Skipping this job.')
continue
logger.info('Job submitted with ID %d' % exec_id)
job_ids.append(exec_id)
else:
logger.warning('Quota exceeded. No jobs can be scheduled now! Sleeping')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment