Skip to content

Commit 4c4d3a4

Browse files
author
yanyujie01
committed
合入master
Change-Id: I14355fc87d9bc026a33bae61d458a81001c576c0
2 parents 29d03ab + aaace60 commit 4c4d3a4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
发行说明:记录每次SDK更新的说明,最新版本的SDK包含以前所有版本的更新内容。
22
---------------------------------------------------------------------
3+
【版本:v0.9.52】
4+
涉及产品:VPC
5+
创建vpc接口enable_ipv6参数修改为驼峰命名形式
6+
37
【版本:v0.9.51】
48
涉及产品:AIHC
59
适配资源池接口签名方法和请求方法

baidubce/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from . import protocol
1919

2020

21-
SDK_VERSION = b'0.9.51'
21+
SDK_VERSION = b'0.9.52'
2222
DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
2323
URL_PREFIX = b'/v1'
2424
DEFAULT_ENCODING = 'UTF-8'

baidubce/services/vpc/vpc_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_vpc(self, name, cidr, description=None, client_token=None, enable_ipv
121121
body['tags'] = tags
122122

123123
if enable_ipv6 is not None:
124-
body['enable_ipv6'] = enable_ipv6
124+
body['enableIpv6'] = enable_ipv6
125125

126126
return self._send_request(http_methods.POST, path, body=json.dumps(body), params=params,
127127
config=config)

0 commit comments

Comments
 (0)