Skip to content

Commit

Permalink
chore: fixing status code aligning it with proto (open-telemetry#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
obecny authored and dyladan committed Feb 18, 2021
1 parent 444fe9f commit 388dd82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/src/trace/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ export interface Status {
*/
export enum StatusCode {
/**
* The operation has been validated by an Application developer or
* Operator to have completed successfully.
* The default status.
*/
OK = 0,
UNSET = 0,
/**
* The default status.
* The operation has been validated by an Application developer or
* Operator to have completed successfully.
*/
UNSET = 1,
OK = 1,
/**
* The operation contains an error.
*/
Expand Down

0 comments on commit 388dd82

Please sign in to comment.