From 483fc507d6acfc04619e60bcc33f9a5360189cd6 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 25 Jan 2016 16:51:33 -0500 Subject: [PATCH] tasks env vars should be strings This was causing rax unit test failures which are now alleviated --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index e8e36a8e10..f1e1e56e56 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -1193,7 +1193,7 @@ class RunInventoryUpdate(BaseTask): elif inventory_update.source == 'rax': env['RAX_CREDS_FILE'] = cloud_credential env['RAX_REGION'] = inventory_update.source_regions or 'all' - env['RAX_CACHE_MAX_AGE'] = 0 + env['RAX_CACHE_MAX_AGE'] = "0" # Set this environment variable so the vendored package won't # complain about not being able to determine its version number. env['PBR_VERSION'] = '0.5.21'