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-cli.git
commit c8eb90b64f2765cd13ea84b6932c5f3c571f58ba Author: kezhenxu94 <kezhenx...@163.com> AuthorDate: Sat Nov 9 21:59:31 2019 +0800 Fix typo --- commands/interceptor/duration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/interceptor/duration.go b/commands/interceptor/duration.go index 4207011..acd1d67 100644 --- a/commands/interceptor/duration.go +++ b/commands/interceptor/duration.go @@ -109,7 +109,7 @@ func ParseDuration(start string, end string) (time.Time, time.Time, schema.Step) logger.Log.Fatalln("Unsupported time format:", start, err) } return startTime, startTime.Add(30 * stepDuration[step]), step - } else { // start is present + } else { // start is absent if step, endTime, err = tryParseTime(end); err != nil { logger.Log.Fatalln("Unsupported time format:", end, err) }