Skip to content

Commit c51df32

Browse files
committed
bugfix: fix invalid ldap login
1 parent c206e94 commit c51df32

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
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.1-py2.py3-none-any.whl
14+
pip install cloudtower_sdk-2.14.2-py2.py3-none-any.whl
1515
```
1616

1717
- ### tar.gz
1818

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

RELEASENOTE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## release 日期 2024-01-09
44

5+
v2.14.2 release (tower version 4.0.0)
6+
7+
### bugfix
8+
9+
- [Utils]\: 修复错误的 ldap 登陆
10+
11+
## release 日期 2024-01-09
12+
513
v2.14.1 release (tower version 4.0.0)
614

715
### bugfix

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.1"
6+
__version__ = "2.14.2"
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.1
7+
The version of the OpenAPI document: 2.14.2
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.1/python'
82+
self.user_agent = 'OpenAPI-Generator/2.14.2/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.1\n"\
402-
"SDK Package Version: 2.14.1".\
401+
"Version of the API: 2.14.2\n"\
402+
"SDK Package Version: 2.14.2".\
403403
format(env=sys.platform, pyversion=sys.version)
404404

405405
def get_host_settings(self):

cloudtower/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import time
2+
import json
23
from cloudtower.api_client import ApiClient
34
from cloudtower.models import GetTasksRequestBody, TaskWhereInput, TaskStatus, UserSource
45
from cloudtower.exceptions import ApiException

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
cloudtower operation API and SDK # noqa: E501
77
8-
The version of the OpenAPI document: 2.14.1
8+
The version of the OpenAPI document: 2.14.2
99
1010
Generated by: https://openapi-generator.tech
1111
"""
@@ -15,7 +15,7 @@
1515
from setuptools import setup, find_packages # noqa: H301
1616

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

0 commit comments

Comments
 (0)