Skip to content

Commit c206e94

Browse files
committed
bugfix: fix invalid VmVolumeElfSotargePolicyType enum
1 parent 0870d0d commit c206e94

File tree

7 files changed

+27
-19
lines changed

7 files changed

+27
-19
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Python 环境下的 Cloudtower SDK,适用于 2.7 与 3.4 以上版本。
1111
- ### whl
1212

1313
```shell
14-
pip install cloudtower_sdk-2.14.0-py2.py3-none-any.whl
14+
pip install cloudtower_sdk-2.14.1-py2.py3-none-any.whl
1515
```
1616

1717
- ### tar.gz
1818

1919
```shell
20-
tar xvzf cloudtower-sdk-2.14.0.tar.gz
21-
cd cloudtower-sdk-2.14.0
20+
tar xvzf cloudtower-sdk-2.14.1.tar.gz
21+
cd cloudtower-sdk-2.14.1
2222
python setup.py install
2323
```
2424

RELEASENOTE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# RELEASE NOTE
22

3+
## release 日期 2024-01-09
4+
5+
v2.14.1 release (tower version 4.0.0)
6+
7+
### bugfix
8+
9+
- [VmVolumeElfStoragePolicyType]\: 修复错误的枚举类型
10+
311
## release 日期 2024-01-04
412

513
v2.14.0 release (tower version 4.0.0)

cloudtower/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# flake8: noqa
44
from __future__ import absolute_import
55

6-
__version__ = "2.14.0"
6+
__version__ = "2.14.1"
77

88
# import apis into sdk package
99
from cloudtower.api.alert_api import AlertApi

cloudtower/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
cloudtower operation API and SDK # noqa: E501
66
7-
The version of the OpenAPI document: 2.14.0
7+
The version of the OpenAPI document: 2.14.1
88
99
Generated by: https://openapi-generator.tech
1010
"""
@@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7979
self.default_headers[header_name] = header_value
8080
self.cookie = cookie
8181
# Set default User-Agent.
82-
self.user_agent = 'OpenAPI-Generator/2.14.0/python'
82+
self.user_agent = 'OpenAPI-Generator/2.14.1/python'
8383
self.client_side_validation = configuration.client_side_validation
8484

8585
def __enter__(self):

cloudtower/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ def to_debug_report(self):
398398
return "Python SDK Debug Report:\n"\
399399
"OS: {env}\n"\
400400
"Python Version: {pyversion}\n"\
401-
"Version of the API: 2.14.0\n"\
402-
"SDK Package Version: 2.14.0".\
401+
"Version of the API: 2.14.1\n"\
402+
"SDK Package Version: 2.14.1".\
403403
format(env=sys.platform, pyversion=sys.version)
404404

405405
def get_host_settings(self):

cloudtower/models/vm_volume_elf_storage_policy_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class VmVolumeElfStoragePolicyType(object):
3131
_3_THICK_PROVISION = "REPLICA_3_THICK_PROVISION"
3232
_3_THIN_PROVISION = "REPLICA_3_THIN_PROVISION"
3333

34-
allowable_values = [ELF_CP_REPLICA_2_THICK_PROVISION, ELF_CP_REPLICA_2_THIN_PROVISION, ELF_CP_REPLICA_3_THICK_PROVISION, ELF_CP_REPLICA_3_THIN_PROVISION, REPLICA_1_THICK_PROVISION, REPLICA_1_THIN_PROVISION, REPLICA_2_THICK_PROVISION, REPLICA_2_THIN_PROVISION, REPLICA_3_THICK_PROVISION, REPLICA_3_THIN_PROVISION] # noqa: E501
34+
allowable_values = [ELF_CP_REPLICA_2_THICK_PROVISION, ELF_CP_REPLICA_2_THIN_PROVISION, ELF_CP_REPLICA_3_THICK_PROVISION, ELF_CP_REPLICA_3_THIN_PROVISION, _1_THICK_PROVISION, _1_THIN_PROVISION, _2_THICK_PROVISION, _2_THIN_PROVISION, _3_THICK_PROVISION, _3_THIN_PROVISION] # noqa: E501
3535

3636
"""
3737
Attributes:

setup.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# coding: utf-8
22

3-
"""
4-
CloudTower APIs
5-
6-
cloudtower operation API and SDK # noqa: E501
7-
8-
The version of the OpenAPI document: 2.14.0
9-
10-
Generated by: https://openapi-generator.tech
11-
"""
3+
"""
4+
CloudTower APIs
5+
6+
cloudtower operation API and SDK # noqa: E501
7+
8+
The version of the OpenAPI document: 2.14.1
9+
10+
Generated by: https://openapi-generator.tech
11+
"""
1212

1313

1414
import pathlib
1515
from setuptools import setup, find_packages # noqa: H301
1616

1717
NAME = "cloudtower-sdk"
18-
VERSION = "2.14.0"
18+
VERSION = "2.14.1"
1919
# To install the library, run the following
2020
#
2121
# python setup.py install

0 commit comments

Comments
 (0)