You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/08/05 14:01:45 UTC

[skywalking] branch master updated: Fix Duration.java (#5241)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 567c6b5  Fix Duration.java (#5241)
567c6b5 is described below

commit 567c6b59f27c022d8f34615ba1bdd9c98a8787d4
Author: Ax1an <28...@users.noreply.github.com>
AuthorDate: Wed Aug 5 21:59:28 2020 +0800

    Fix Duration.java (#5241)
---
 .../org/apache/skywalking/oap/server/core/query/input/Duration.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Duration.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Duration.java
index e58736b..e08160f 100644
--- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Duration.java
+++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Duration.java
@@ -49,7 +49,7 @@ public class Duration {
     }
 
     public long getEndTimestamp() {
-        return DurationUtils.INSTANCE.startTimeToTimestamp(step, end);
+        return DurationUtils.INSTANCE.endTimeToTimestamp(step, end);
     }
 
     public long getStartTimeBucketInSec() {