Skip to content

Commit

Permalink
fix API calling error
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Nov 16, 2018
1 parent 0091f2e commit dfe5b1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions aliyun/log/logclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,11 @@ def create_logstore(self, project_name, logstore_name,
"autoSplit": auto_split,
"maxSplitShard": max_split_shard,
"appendMeta": append_meta,
"resourceQuota": {
"strage": {
"preserved": preserve_storage
}
}
# "resourceQuota": {
# "strage": {
# "preserved": preserve_storage
# }
# }
}

body_str = six.b(json.dumps(body))
Expand Down Expand Up @@ -1097,11 +1097,11 @@ def update_logstore(self, project_name, logstore_name, ttl=None, enable_tracking
"autoSplit": auto_split,
"maxSplitShard": max_split_shard,
"appendMeta": append_meta,
"resourceQuota": {
"strage": {
"preserved": preserve_storage
}
}
# "resourceQuota": {
# "strage": {
# "preserved": preserve_storage
# }
# }
}
body_str = six.b(json.dumps(body))
(resp, header) = self._send("PUT", project_name, body_str, resource, params, headers)
Expand Down

0 comments on commit dfe5b1c

Please sign in to comment.