Skip to content

Commit ce02564

Browse files
authored
Merge pull request #25356 from Arhell/sync
update md format (zh)
2 parents dde96d7 + 9683747 commit ce02564

File tree

1 file changed

+8
-8
lines changed
  • content/zh/docs/concepts/overview/working-with-objects

1 file changed

+8
-8
lines changed

content/zh/docs/concepts/overview/working-with-objects/labels.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,17 +221,17 @@ partition
221221
```
222222
223223
<!--
224-
The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
225-
The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
226-
The third example selects all resources including a label with key `partition`; no values are checked.
227-
The fourth example selects all resources without a label with key `partition`; no values are checked.
224+
* The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
225+
* The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
226+
* The third example selects all resources including a label with key `partition`; no values are checked.
227+
* The fourth example selects all resources without a label with key `partition`; no values are checked.
228228
Similarly the comma separator acts as an _AND_ operator. So filtering resources with a `partition` key (no matter the value) and with `environment` different than  `qa` can be achieved using `partition,environment notin (qa)`.
229229
-->
230230
231-
第一个示例选择了所有键等于 `environment` 并且值等于 `production` 或者 `qa` 的资源。
232-
第二个示例选择了所有键等于 `tier` 并且值不等于 `frontend` 或者 `backend` 的资源,以及所有没有 `tier` 键标签的资源。
233-
第三个示例选择了所有包含了有 `partition` 标签的资源;没有校验它的值。
234-
第四个示例选择了所有没有 `partition` 标签的资源;没有校验它的值。
231+
* 第一个示例选择了所有键等于 `environment` 并且值等于 `production` 或者 `qa` 的资源。
232+
* 第二个示例选择了所有键等于 `tier` 并且值不等于 `frontend` 或者 `backend` 的资源,以及所有没有 `tier` 键标签的资源。
233+
* 第三个示例选择了所有包含了有 `partition` 标签的资源;没有校验它的值。
234+
* 第四个示例选择了所有没有 `partition` 标签的资源;没有校验它的值。
235235
类似地,逗号分隔符充当 _与_ 运算符。因此,使用 `partition` 键(无论为何值)和
236236
`environment` 不同于 `qa` 来过滤资源可以使用 `partition, environment notin(qa)` 来实现。
237237

0 commit comments

Comments
 (0)