Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23306 )

Change subject: [metrics] proper metric name in warning message
......................................................................

[metrics] proper metric name in warning message

This patch fixes a typo in WriteMetricsPrometheus() if printing a
warning message.  I also took the liberty of adding extra DCHECK()
assertions to make sure names and descriptions of metric prototypes
aren't null.

This changelist doesn't contain any functional modifications.

Change-Id: I60dc827486b029973cea82a00af92b415c5d78ac
Reviewed-on: http://gerrit.cloudera.org:8080/23306
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Marton Greber <[email protected]>
---
M src/kudu/util/metrics.cc
M src/kudu/util/metrics.h
2 files changed, 10 insertions(+), 6 deletions(-)

Approvals:
  Marton Greber: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/23306
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I60dc827486b029973cea82a00af92b415c5d78ac
Gerrit-Change-Number: 23306
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>

Reply via email to