Skip to content

Commit 44648c9

Browse files
authored
Merge pull request #195 from wes-johnson/develop
Fixes eclipse-sparkplug/sparkplug#126 by improving the comment in the protobuf definition file for template_ref
2 parents cfc12c7 + 46f25e7 commit 44648c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sparkplug_b/sparkplug_b.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ message Payload {
9797
optional string version = 1; // The version of the Template to prevent mismatches
9898
repeated Metric metrics = 2; // Each metric includes a name, datatype, and optionally a value
9999
repeated Parameter parameters = 3;
100-
optional string template_ref = 4; // Reference to a template if this is extending a Template or an instance - must exist if an instance
100+
optional string template_ref = 4; // MUST be a reference to a template definition if this is an instance (i.e. the name of the template definition) - MUST be omitted for template definitions
101101
optional bool is_definition = 5;
102102
extensions 6 to max;
103103
}

0 commit comments

Comments
 (0)