Skip to content

Commit

Permalink
fix typo issue of endpoint in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Jan 22, 2018
1 parent 2a1afc2 commit d215bee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ endpoint=
Use the command "configure" to modify the configuration file:

```shell
> aliyun configure access_id access_key cn-beijing.log.aliyun.com
> aliyun configure access_id access_key cn-beijing.log.aliyuncs.com
```


Expand All @@ -149,8 +149,8 @@ Use the command "configure" to modify the configuration file:
1. Store multiple accounts for some use cases (e.g. test, multiple region operations)

```shell
> aliyun configure access_id1 access_key1 cn-beijing.log.aliyun.com
> aliyun configure access_id2 access_key2 cn-hangzhou.log.aliyun.com test
> aliyun configure access_id1 access_key1 cn-beijing.log.aliyuncs.com
> aliyun configure access_id2 access_key2 cn-hangzhou.log.aliyuncs.com test
```

AK is stored as:
Expand All @@ -159,12 +159,12 @@ Use the command "configure" to modify the configuration file:
[main]
access-id=access_id1
access-key=access_key1
endpoint=cn-beijing.log.aliyun.com
endpoint=cn-beijing.log.aliyuncs.com

[test]
access-id=access_id2
access-key=access_key2
endpoint=cn-hangzhou.log.aliyun.com
endpoint=cn-hangzhou.log.aliyuncs.com
```

2. Use specific account
Expand Down
10 changes: 5 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,16 @@ endpoint=
Configure命令可以修改配置文件内容.

```shell
> aliyun configure access_id access_key cn-beijing.log.aliyun.com
> aliyun configure access_id access_key cn-beijing.log.aliyuncs.com
```

<h2 id="多账户">多账户</h2>

1. 存储于多个账户, 以便在特定情况下使用(例如测试):

```shell
> aliyun configure access_id1 access_key1 cn-beijing.log.aliyun.com
> aliyun configure access_id2 access_key2 cn-hangzhou.log.aliyun.com test
> aliyun configure access_id1 access_key1 cn-beijing.log.aliyuncs.com
> aliyun configure access_id2 access_key2 cn-hangzhou.log.aliyuncs.com test
```

AK将存储为:
Expand All @@ -155,12 +155,12 @@ Configure命令可以修改配置文件内容.
[main]
access-id=access_id1
access-key=access_key1
endpoint=cn-beijing.log.aliyun.com
endpoint=cn-beijing.log.aliyuncs.com

[test]
access-id=access_id2
access-key=access_key2
endpoint=cn-hangzhou.log.aliyun.com
endpoint=cn-hangzhou.log.aliyuncs.com
```

2. 使用特定账户
Expand Down

0 comments on commit d215bee

Please sign in to comment.