aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/core
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-04-06 07:01:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-06 07:01:18 +0000
commit9c7086ce2f23aa4dd47373208651ff1e560c41de (patch)
treed9b0fbe7c0b767035ebb6d9cfd9c14b3d9a7da02 /yardstick/benchmark/core
parentc5a35bcde80df0dd367e40b9acd7f941b33dc4bc (diff)
parent221f4482bab3361cdb69161147e4d32d098d9a43 (diff)
Merge "Yardstick virtualenv support" into stable/danube
Diffstat (limited to 'yardstick/benchmark/core')
-rw-r--r--yardstick/benchmark/core/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/core/task.py b/yardstick/benchmark/core/task.py
index 40122764c..3a151dbba 100644
--- a/yardstick/benchmark/core/task.py
+++ b/yardstick/benchmark/core/task.py
@@ -503,7 +503,7 @@ def check_environment():
auth_url = os.environ.get('OS_AUTH_URL', None)
if not auth_url:
try:
- source_env(constants.OPENSTACK_RC_FILE)
+ source_env(constants.OPENRC)
except IOError as e:
if e.errno != errno.EEXIST:
raise