From 83d133765e299373b9d5fde973210cfc4f856791 Mon Sep 17 00:00:00 2001 From: Alexander Bashmakov Date: Mon, 12 Sep 2016 16:40:34 -0700 Subject: [PATCH] Correctly point to Task Statuses from Tasks doc. This is a doc improvement to point the Task Statuses link in tasks.html to the correct 'Task Statuses' section inside status.html. Currently, this link points to the 'Image Statuses' section instead of 'Task Statuses'. This patch addresses that. Change-Id: Iaf877a48f92aec9e789809fb5f4b9be0ca0e23cf Closes-Bug: 1622779 --- doc/source/statuses.rst | 2 ++ doc/source/tasks.rst | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/statuses.rst b/doc/source/statuses.rst index 44dc537992..1ac7f41d53 100644 --- a/doc/source/statuses.rst +++ b/doc/source/statuses.rst @@ -105,6 +105,8 @@ Images in Glance can be in one the following statuses: * Add location from zero to more than one. +.. _task-statuses: + Task Statuses ============= diff --git a/doc/source/tasks.rst b/doc/source/tasks.rst index c908033bbc..13b9dab1b2 100644 --- a/doc/source/tasks.rst +++ b/doc/source/tasks.rst @@ -96,8 +96,7 @@ assigned an expiration datetime that's displayed in the ``expires_at`` field. datetime, the task resource is subject to being deleted. The result of the task (for example, an imported image) will still exist. -For details about the defined task statuses, please see :doc:`Task -Statuses ` +For details about the defined task statuses, please see :ref:`task-statuses`. Tasks expire eventually because there's no reason to keep them around, as the user will have the result of the task, which was the point of creating