Skip to content

Commit

Permalink
Merge pull request #1240 from mondainai/master
Browse files Browse the repository at this point in the history
Added missing Quotation marks for timeShift target name.
  • Loading branch information
SEJeff committed Jun 15, 2015
2 parents f424bd2 + ebdf2b1 commit 1d69fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/graphite/render/functions.py
Expand Up @@ -2489,7 +2489,7 @@ def timeShift(requestContext, seriesList, timeShift, resetEnd=True):
series = seriesList[0]

for shiftedSeries in evaluateTarget(myContext, series.pathExpression):
shiftedSeries.name = 'timeShift(%s, %s)' % (shiftedSeries.name, timeShift)
shiftedSeries.name = 'timeShift(%s, "%s")' % (shiftedSeries.name, timeShift)
if resetEnd:
shiftedSeries.end = series.end
else:
Expand Down

0 comments on commit 1d69fac

Please sign in to comment.