From 63c4215994dec4f3f819357401263cd34e12b448 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Thu, 6 Jul 2017 19:07:14 -0700 Subject: [PATCH] Fix rst for link Change-Id: I2f63ce16ae67277504a47e68c7dca3c3412fe92c --- doc/source/api/object_api_v1_overview.rst | 4 +--- swift/proxy/controllers/obj.py | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/source/api/object_api_v1_overview.rst b/doc/source/api/object_api_v1_overview.rst index 2d2c2479..30d3f04f 100644 --- a/doc/source/api/object_api_v1_overview.rst +++ b/doc/source/api/object_api_v1_overview.rst @@ -6,9 +6,7 @@ consistent object/blob store. You create, modify, and get objects and metadata by using the Object Storage API, which is implemented as a set of Representational State Transfer (REST) web services. -For an introduction to OpenStack Object Storage, see `Object -Storage ` -in the *OpenStack Administrator Guide*. +For an introduction to OpenStack Object Storage, see the :doc:`/admin/index`. You use the HTTPS (SSL) protocol to interact with Object Storage, and you use standard HTTP calls to perform API operations. You can also use diff --git a/swift/proxy/controllers/obj.py b/swift/proxy/controllers/obj.py index 9f6cf37e..37467649 100644 --- a/swift/proxy/controllers/obj.py +++ b/swift/proxy/controllers/obj.py @@ -142,7 +142,8 @@ class BaseObjectController(Controller): :param ring: ring to get nodes from :param partition: ring partition to yield nodes for - :param policy: optional, an instance of :class:`BaseStoragePolicy + :param policy: optional, an instance of + :class:`~swift.common.storage_policy.BaseStoragePolicy` :param local_handoffs_first: optional, if True prefer primaries and local handoff nodes first before looking elsewhere. """