Skip to content

Commit

Permalink
Update proto name to fix Windows portability build
Browse files Browse the repository at this point in the history
  • Loading branch information
ncteisen committed Mar 16, 2018
1 parent 78e532a commit 2352380
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/core/lib/channel/channel_trace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ char* fmt_time(gpr_timespec tm) {
const char* severity_string(ChannelTrace::Severity severity) {
switch (severity) {
case ChannelTrace::Severity::Info:
return "INFO";
return "CT_INFO";
case ChannelTrace::Severity::Warning:
return "WARNING";
return "CT_WARNING";
case ChannelTrace::Severity::Error:
return "ERROR";
return "CT_ERROR";
default:
GPR_UNREACHABLE_CODE(return "UNKNOWN");
GPR_UNREACHABLE_CODE(return "CT_UNKNOWN");
}
}

Expand Down
8 changes: 4 additions & 4 deletions src/proto/grpc/channelz/channelz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ message ChannelTraceEvent {
string description = 1;
// The supported severity levels of trace events.
enum Severity {
UNKNOWN = 0;
INFO = 1;
WARNING = 2;
ERROR = 3;
CT_UNKNOWN = 0;
CT_INFO = 1;
CT_WARNING = 2;
CT_ERROR = 3;
}
// the severity of the trace event
Severity severity = 2;
Expand Down

0 comments on commit 2352380

Please sign in to comment.