From 56d1247e510ea3b536ff570e601bd00ee4bc16ed Mon Sep 17 00:00:00 2001 From: Palak Bhojani Date: Thu, 3 Jan 2019 10:59:20 -0800 Subject: [PATCH] Update range function example constant to include now() instead of now --- ui/src/shared/constants/fluxFunctions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/shared/constants/fluxFunctions.ts b/ui/src/shared/constants/fluxFunctions.ts index 132500475e4..7e024636e8f 100644 --- a/ui/src/shared/constants/fluxFunctions.ts +++ b/ui/src/shared/constants/fluxFunctions.ts @@ -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',