Fixed a handful of typos
Change-Id: I8cb2de27818332be587df7321ef567f8399910a9
This commit is contained in:
parent
2d00f7b7ba
commit
181e9496fa
@ -204,7 +204,7 @@ other users on containers, see the documentation on ACL here
|
|||||||
Users with the Keystone role defined in ``reseller_admin_role``
|
Users with the Keystone role defined in ``reseller_admin_role``
|
||||||
(``ResellerAdmin`` by default) can operate on any account. The auth system
|
(``ResellerAdmin`` by default) can operate on any account. The auth system
|
||||||
sets the request environ reseller_request to True if a request is coming
|
sets the request environ reseller_request to True if a request is coming
|
||||||
from an user with this role. This can be used by other middlewares.
|
from a user with this role. This can be used by other middlewares.
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
Extending Auth
|
Extending Auth
|
||||||
|
@ -6,7 +6,7 @@ The ``swift-object-expirer`` offers scheduled deletion of objects. The Swift cli
|
|||||||
|
|
||||||
The ``X-Delete-At`` header takes a Unix Epoch timestamp, in integer form; for example: ``1317070737`` represents ``Mon Sep 26 20:58:57 2011 UTC``.
|
The ``X-Delete-At`` header takes a Unix Epoch timestamp, in integer form; for example: ``1317070737`` represents ``Mon Sep 26 20:58:57 2011 UTC``.
|
||||||
|
|
||||||
The ``X-Delete-After`` header takes a integer number of seconds. The proxy server that receives the request will convert this header into an ``X-Delete-At`` header using its current time plus the value given.
|
The ``X-Delete-After`` header takes an integer number of seconds. The proxy server that receives the request will convert this header into an ``X-Delete-At`` header using its current time plus the value given.
|
||||||
|
|
||||||
As expiring objects are added to the system, the object servers will record the expirations in a hidden ``.expiring_objects`` account for the ``swift-object-expirer`` to handle later.
|
As expiring objects are added to the system, the object servers will record the expirations in a hidden ``.expiring_objects`` account for the ``swift-object-expirer`` to handle later.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"""
|
"""
|
||||||
Profiling middleware for Swift Servers.
|
Profiling middleware for Swift Servers.
|
||||||
|
|
||||||
The current implementation is based on eventlet awared profiler.(For the
|
The current implementation is based on eventlet aware profiler.(For the
|
||||||
future, more profilers could be added in to collect more data for analysis.)
|
future, more profilers could be added in to collect more data for analysis.)
|
||||||
Profiling all incoming requests and accumulating cpu timing statistics
|
Profiling all incoming requests and accumulating cpu timing statistics
|
||||||
information for performance tuning and optimization. An mini web UI is also
|
information for performance tuning and optimization. An mini web UI is also
|
||||||
|
@ -255,7 +255,7 @@ def config_auto_int_value(value, default):
|
|||||||
try:
|
try:
|
||||||
value = int(value)
|
value = int(value)
|
||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
raise ValueError('Config option must be a integer or the '
|
raise ValueError('Config option must be an integer or the '
|
||||||
'string "auto", not "%s".' % value)
|
'string "auto", not "%s".' % value)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ class TestAccount(unittest.TestCase):
|
|||||||
conn.request('POST', parsed.path, '', new_headers)
|
conn.request('POST', parsed.path, '', new_headers)
|
||||||
return check_response(conn)
|
return check_response(conn)
|
||||||
|
|
||||||
# add a account metadata, and temp-url-key to account
|
# add an account metadata, and temp-url-key to account
|
||||||
value = str(uuid4())
|
value = str(uuid4())
|
||||||
headers = {
|
headers = {
|
||||||
'x-account-meta-temp-url-key': 'secret',
|
'x-account-meta-temp-url-key': 'secret',
|
||||||
|
@ -414,7 +414,7 @@ class TestServer(unittest.TestCase):
|
|||||||
conf_files = server.conf_files(number=5)
|
conf_files = server.conf_files(number=5)
|
||||||
self.assertFalse(conf_files)
|
self.assertFalse(conf_files)
|
||||||
|
|
||||||
# test geting specific conf
|
# test getting specific conf
|
||||||
conf_files = (
|
conf_files = (
|
||||||
'account-server/1.conf',
|
'account-server/1.conf',
|
||||||
'account-server/2.conf',
|
'account-server/2.conf',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user