fix(usage): use stop time as upper bound (#932)

pull/10616/head
lukevmorris 2018-10-02 12:00:23 -07:00 committed by GitHub
parent 14270192d9
commit 40a98028d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func decodeGetUsageRequest(ctx context.Context, r *http.Request) (*getUsageReque
return nil, err
}
stopTime, err := time.Parse(time.RFC3339, start)
stopTime, err := time.Parse(time.RFC3339, stop)
if err != nil {
return nil, err
}