diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-05-21 12:53:03 +0100 |
---|---|---|
committer | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-05-21 14:11:31 +0100 |
commit | a2ee61016721386b40caa4e2d72f61be8adec94a (patch) | |
tree | bba343e0954a220ec0f6c24121d08965f1e20e4a /yardstick/common/exceptions.py | |
parent | b7f867ba873806a10972108fa19d26b2ae19fa58 (diff) |
Add "host_name_separator" variable to Context class
This feature will provide Kubernetes context the ability to handle the
context name inside the class itself, providing to the developer an
abstraction of the possible naming limitations in Kubernetes. E.g.:
"dot" character in Pod names is no allowed [1].
[1] https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/issues/58
JIRA: YARDSTICK-1188
Change-Id: I82121f970b550170357a443b6340be7900602a57
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'yardstick/common/exceptions.py')
-rw-r--r-- | yardstick/common/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py index c7ba56268..3ae49d812 100644 --- a/yardstick/common/exceptions.py +++ b/yardstick/common/exceptions.py @@ -138,7 +138,7 @@ class LibvirtQemuImageCreateError(YardstickException): class ScenarioConfigContextNameNotFound(YardstickException): - message = 'Context name "%(context_name)s" not found' + message = 'Context for host name "%(host_name)s" not found' class StackCreationInterrupt(YardstickException): |