Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Sep 4, 2023
1 parent f7f3464 commit e33d4da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
如果开启了 Zone 功能,还可以指定新主机所属的 Zone。详情参见[管理 Zone](../../4.deployment-and-installation/5.zone.md)

```ngql
ADD HOSTS <ip>:<port> [,<ip>:<port> ...] INTO ZONE "<new_zone_name>";
ADD HOSTS <ip>:<port> [,<ip>:<port> ...] INTO ZONE <new_zone_name>;
```
{{ent.ent_end}}

Expand Down
8 changes: 4 additions & 4 deletions docs-2.0/4.deployment-and-installation/5.zone.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ nebula> SHOW ZONES;
### 查看指定 Zone

```ngql
DESCRIBE ZONE "<zone_name>";
DESC ZONE "<zone_name>";
DESCRIBE ZONE <zone_name>;
DESC ZONE <zone_name>;
```

示例:
Expand All @@ -119,7 +119,7 @@ CREATE SPACE IF NOT EXISTS (
vid_type = {FIXED_STRING(<N>) | INT[64]}
)
[COMMENT = '<comment>']
[ON "<zone_list>"];
[ON <zone_list>];
```

!!! note
Expand Down Expand Up @@ -158,7 +158,7 @@ nebula> DESC SPACE my_space_1
### 将 Storage 节点加入 Zone

```ngql
ADD HOSTS <ip>:<port> [,<ip>:<port> ...] INTO ZONE "<new_zone_name>";
ADD HOSTS <ip>:<port> [,<ip>:<port> ...] INTO ZONE <new_zone_name>;
```

示例:
Expand Down

0 comments on commit e33d4da

Please sign in to comment.