Browse Source

executor: properly format error exception

Exception doesn't format string automatically.

Change-Id: Iab057490966441d2e9f6792534743a0c8f3e8a86
changes/28/630928/2
Tristan Cacqueray 2 years ago
parent
commit
a44a9bef38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      zuul/executor/server.py

+ 1
- 1
zuul/executor/server.py View File

@ -1537,7 +1537,7 @@ class AnsibleJob(object):
link = os.path.join(root, name)
link = os.path.realpath(link)
if not link.startswith(os.path.realpath(root)):
raise ExecutorError("Invalid role name %s", name)
raise ExecutorError("Invalid role name %s" % name)
os.symlink(path, link)
try:


Loading…
Cancel
Save