Skip to content

Commit

Permalink
Merge pull request #2199 from influxdata/fix-range-now-function
Browse files Browse the repository at this point in the history
Update range function example constant to include now() instead of now
  • Loading branch information
Palakp41 authored Jan 3, 2019
2 parents 7751fb6 + 56d1247 commit 36d6028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/shared/constants/fluxFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,13 +887,13 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
{
name: 'stop',
desc:
'Specifies the exclusive newest time to be included in the results. Defaults to `now`.',
'Specifies the exclusive newest time to be included in the results. Defaults to `now()`.',
type: 'Duration',
},
],
desc:
"Filters records based on time bounds. Each input table's records are filtered to contain only records that exist within the time bounds. Each input table's group key value is modified to fit within the time bounds. Tables where all records exists outside the time bounds are filtered entirely.",
example: 'range(start: -15m, stop: now)',
example: 'range(start: -15m, stop: now())',
category: 'Transformations',
link:
'https://docs.influxdata.com/flux/latest/functions/transformations/range',
Expand Down

0 comments on commit 36d6028

Please sign in to comment.