From ac3cc4be6e23862f09a9150a691179b564850255 Mon Sep 17 00:00:00 2001 From: Ildiko Vancsa Date: Fri, 13 Mar 2015 13:10:33 +0100 Subject: [PATCH] Update reference Update the 'measurements' reference in samples.py to refer to the section that describes the supported sample types. Change-Id: I75913cdac6780d2cb6498999830ebb3734a8457e --- ceilometer/api/controllers/v2/samples.py | 2 +- doc/source/new_meters.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ceilometer/api/controllers/v2/samples.py b/ceilometer/api/controllers/v2/samples.py index b0bc7740a..eba9b787f 100644 --- a/ceilometer/api/controllers/v2/samples.py +++ b/ceilometer/api/controllers/v2/samples.py @@ -45,7 +45,7 @@ class Sample(base.Base): "The meter name this sample is for." type = wtypes.Enum(str, *sample.TYPES) - "The meter type (see :ref:`measurements`)" + "The meter type (see :ref:`meter_types`)" unit = wtypes.text "The unit of measure." diff --git a/doc/source/new_meters.rst b/doc/source/new_meters.rst index f069b7536..c179f614b 100644 --- a/doc/source/new_meters.rst +++ b/doc/source/new_meters.rst @@ -24,6 +24,7 @@ from other external components. If you would like to add new meters to the currently existing ones, you need to follow the guidelines given in this section. +.. _meter_types: Types =====