The error message should mention the keyword that caused the error, not
some other random keyword from previous iterations.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
"NX1.0": ("OF1.0",),
"NX1.1": ("OF1.1",)}
if targets not in target_map:
- fatal("%s: unknown error domain" % target)
+ fatal("%s: unknown error domain" % targets)
for target in target_map[targets]:
if type_ not in domain[target]:
domain[target][type_] = {}