Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 846a5b0

Browse files
committed
Fix a typo on displaying Aggregation Type for a View on StatsZ page. (#1170)
(cherry picked from commit e830bee)
1 parent f613604 commit 846a5b0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Unreleased
2+
- Fix a typo on displaying Aggregation Type for a View on StatsZ page.
23

34
## 0.13.0 - 2018-04-27
45
- Support building with Java 9.

contrib/zpages/src/main/java/io/opencensus/contrib/zpages/StatszZPageHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ private static void emitViewInfo(
321321
.match(
322322
Functions.returnConstant("Sum"),
323323
Functions.returnConstant("Count"),
324-
Functions.returnConstant("Last Value"),
325324
Functions.returnConstant("Distribution"),
325+
Functions.returnConstant("Last Value"),
326326
new Function<Aggregation, String>() {
327327
@Override
328328
public String apply(Aggregation arg) {

contrib/zpages/src/test/java/io/opencensus/contrib/zpages/StatszZPageHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ private static void assertContainsViewData(OutputStream output, ViewData viewDat
223223
.match(
224224
Functions.returnConstant("Sum"),
225225
Functions.returnConstant("Count"),
226-
Functions.returnConstant("Last Value"),
227226
Functions.returnConstant("Distribution"),
227+
Functions.returnConstant("Last Value"),
228228
new Function<Aggregation, String>() {
229229
@Override
230230
public String apply(Aggregation arg) {

0 commit comments

Comments
 (0)