From ce2a22671caed4f9655465b2fb2147e844fa9228 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 23 Dec 2011 17:44:14 +0100 Subject: [PATCH] common.ring: fix docstrings Change-Id: I897791507de43f1fe801239f2b773eecdd996cdc Signed-off-by: Julien Danjou --- swift/common/ring/builder.py | 3 ++- swift/common/ring/ring.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/swift/common/ring/builder.py b/swift/common/ring/builder.py index 1d215d14bc..6dda10ef99 100644 --- a/swift/common/ring/builder.py +++ b/swift/common/ring/builder.py @@ -173,7 +173,8 @@ class RingBuilder(object): to assign to this device zone integer indicating which zone the device is in; a given partition will not be assigned to multiple devices within the - same zone ip the ip address of the device + same zone + ip the ip address of the device port the tcp port of the device device the device's name on disk (sdb1, for example) meta general use 'extra' field; for example: the online date, the diff --git a/swift/common/ring/ring.py b/swift/common/ring/ring.py index d95f16b59b..5f875875c7 100644 --- a/swift/common/ring/ring.py +++ b/swift/common/ring/ring.py @@ -120,7 +120,8 @@ class Ring(object): to assign to this device zone integer indicating which zone the device is in; a given partition will not be assigned to multiple devices within the - same zone ip the ip address of the device + same zone + ip the ip address of the device port the tcp port of the device device the device's name on disk (sdb1, for example) meta general use 'extra' field; for example: the online date, the