From 1ea0300cecea2458b0c65ee8f288633931301910 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 15 Mar 2016 20:50:06 -0400 Subject: [PATCH] config: error reporting: "ts" -> "timestamp" Signed-off-by: Philippe Proulx --- barectf/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/barectf/config.py b/barectf/config.py index 7c173f9..9646ccc 100644 --- a/barectf/config.py +++ b/barectf/config.py @@ -505,13 +505,13 @@ class _MetadataSpecialFieldsValidator: ts = t.fields['timestamp'] if type(ts) is not metadata.Integer: - raise ConfigError('"ts" field in stream event header type must be an integer type') + raise ConfigError('"timestamp" field in stream event header type must be an integer type') if ts.signed: - raise ConfigError('"ts" field in stream event header type must be an unsigned integer type') + raise ConfigError('"timestamp" field in stream event header type must be an unsigned integer type') if not ts.property_mappings: - raise ConfigError('"ts" field in stream event header type must be mapped to a clock') + raise ConfigError('"timestamp" field in stream event header type must be mapped to a clock') # "id" is an unsigned integer type if 'id' in t.fields: -- 2.34.1