Skip to content

Commit

Permalink
Lint.UnknownRuntimeKey allow inlineDockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 5, 2021
1 parent 3f73f94 commit e4dc499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions WDL/Lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ class UnknownRuntimeKey(Linter):
"gpu",
"gpuCount",
"gpuType",
"inlineDockerfile",
"maxRetries",
"memory",
"noAddress",
Expand Down
2 changes: 1 addition & 1 deletion WDL/runtime/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def _eval_task_runtime(
if ans:
logger.info(_("effective runtime", **ans))
unused_keys = list(
key for key in runtime_values if key not in ("cpu", "memory") and key not in ans
key for key in runtime_values if key not in ("cpu", "memory", "docker") and key not in ans
)
if unused_keys:
logger.warning(_("ignored runtime settings", keys=unused_keys))
Expand Down

0 comments on commit e4dc499

Please sign in to comment.