Merge pull request #1781 from jeid64/je_fix_execprovider

Set cwd to None if empty string for ExecProvider
This commit is contained in:
Kubernetes Prow Robot 2022-05-25 14:35:23 -07:00 committed by GitHub
commit be9a47e573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,8 @@ class ExecProvider(object):
value = item['value']
additional_vars[name] = value
self.env.update(additional_vars)
self.cwd = cwd
self.cwd = cwd or None
def run(self, previous_response=None):
kubernetes_exec_info = {