Skip to content

Commit

Permalink
Corrected error case example
Browse files Browse the repository at this point in the history
  • Loading branch information
janlindblad committed Nov 7, 2024
1 parent a573664 commit 7896ae4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions draft-ietf-netconf-trace-ctx-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,17 @@ This might give the following error response:
Context traceparent attribute incorrectly formatted
</error-message>
<error-info>
<ietf-trace-context:meta-name>
w3ctc:traceparent
</ietf-trace-context:meta-name>
<ietf-trace-context:meta-value>
Bad Format
</ietf-trace-context:meta-value>
<ietf-trace-context:error-type>
ietf-trace-context:bad-format
</ietf-trace-context:error-type>
<ietf-trace-context:trace-context-error-info>
<ietf-trace-context:meta-name>
w3ctc:traceparent
</ietf-trace-context:meta-name>
<ietf-trace-context:meta-value>
Bad Format
</ietf-trace-context:meta-value>
<ietf-trace-context:error-type>
ietf-trace-context:bad-format
</ietf-trace-context:error-type>
</ietf-trace-context:trace-context-error-info>
</error-info>
</rpc-error>
</rpc-reply>
Expand Down
2 changes: 1 addition & 1 deletion src/yang/ietf-trace-context.yang
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module ietf-trace-context {
If a client sent an RPC annotated with the attribute
w3ctc:traceparent='incorrect-format'
this leaf might have the value
'ietf-trace-contextt:bad-format'.";
'ietf-trace-context:bad-format'.";
}
}
}
Expand Down

0 comments on commit 7896ae4

Please sign in to comment.