diff options
| author | zheng yin <yin.zheng@easystack.cn> | 2016-09-23 19:42:40 +0800 |
|---|---|---|
| committer | zheng yin <yin.zheng@easystack.cn> | 2016-09-26 20:42:26 +0800 |
| commit | 9912fdd7ff037462d295e77ac58aadc3d7f8f972 (patch) | |
| tree | 7455dc62755e92628ead3686dcb5d78b9b84f549 /openstackclient/api | |
| parent | 465a5d08e0b931b22c055fcbd5f530ee5547e7ab (diff) | |
| download | python-openstackclient-9912fdd7ff037462d295e77ac58aadc3d7f8f972.tar.gz | |
Add default limit for container/object
Default container name length less than or equal to 256 in link[1],
as the same time,default object name length less than or equal to 1024
in link[2]. Thereforce, I check the length of container and object in take_action.
and if it's greater than 256/1024 I warn the user.
[1] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L39
[2] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L35
Change-Id: I304b77cbc464eaba041321654cc29248cbe4b9a6
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions
