From: Philippe Proulx Date: Wed, 16 Mar 2016 00:50:06 +0000 (-0400) Subject: config: error reporting: "ts" -> "timestamp" X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1ea0300cecea2458b0c65ee8f288633931301910;p=deliverable%2Fbarectf.git config: error reporting: "ts" -> "timestamp" Signed-off-by: Philippe Proulx --- 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: