config: error reporting: "ts" -> "timestamp"
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 16 Mar 2016 00:50:06 +0000 (20:50 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 18 Mar 2016 21:54:59 +0000 (17:54 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/config.py

index 7c173f9ea786de29063dab1151df6c8ef237a4f3..9646ccc9fd5041c9d83d7a0f66f2c0a9a1e44c2c 100644 (file)
@@ -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:
This page took 0.024905 seconds and 4 git commands to generate.