Skip to content

Commit

Permalink
bugfix: fix invalid ldap login
Browse files Browse the repository at this point in the history
  • Loading branch information
Sczlog committed Jan 9, 2024
1 parent c206e94 commit c51df32
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Python 环境下的 Cloudtower SDK,适用于 2.7 与 3.4 以上版本。
- ### whl

```shell
pip install cloudtower_sdk-2.14.1-py2.py3-none-any.whl
pip install cloudtower_sdk-2.14.2-py2.py3-none-any.whl
```

- ### tar.gz

```shell
tar xvzf cloudtower-sdk-2.14.1.tar.gz
cd cloudtower-sdk-2.14.1
tar xvzf cloudtower-sdk-2.14.2.tar.gz
cd cloudtower-sdk-2.14.2
python setup.py install
```

Expand Down
8 changes: 8 additions & 0 deletions RELEASENOTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## release 日期 2024-01-09

v2.14.2 release (tower version 4.0.0)

### bugfix

- [Utils]\: 修复错误的 ldap 登陆

## release 日期 2024-01-09

v2.14.1 release (tower version 4.0.0)

### bugfix
Expand Down
2 changes: 1 addition & 1 deletion cloudtower/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# flake8: noqa
from __future__ import absolute_import

__version__ = "2.14.1"
__version__ = "2.14.2"

# import apis into sdk package
from cloudtower.api.alert_api import AlertApi
Expand Down
4 changes: 2 additions & 2 deletions cloudtower/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
cloudtower operation API and SDK # noqa: E501
The version of the OpenAPI document: 2.14.1
The version of the OpenAPI document: 2.14.2
Contact: info@smartx.com
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/2.14.1/python'
self.user_agent = 'OpenAPI-Generator/2.14.2/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
4 changes: 2 additions & 2 deletions cloudtower/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2.14.1\n"\
"SDK Package Version: 2.14.1".\
"Version of the API: 2.14.2\n"\
"SDK Package Version: 2.14.2".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
1 change: 1 addition & 0 deletions cloudtower/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time
import json
from cloudtower.api_client import ApiClient
from cloudtower.models import GetTasksRequestBody, TaskWhereInput, TaskStatus, UserSource
from cloudtower.exceptions import ApiException
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
cloudtower operation API and SDK # noqa: E501
The version of the OpenAPI document: 2.14.1
The version of the OpenAPI document: 2.14.2
Contact: info@smartx.com
Generated by: https://openapi-generator.tech
"""
Expand All @@ -15,7 +15,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "cloudtower-sdk"
VERSION = "2.14.1"
VERSION = "2.14.2"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit c51df32

Please sign in to comment.