label_selector::convert_label_selector_to_query_string && pod_utils::pod_matches_multiple_label_values should return all Errors in a list instead of one-by-one
まだ誰も着手していません。
評価
調査の方向性
label_selector::convert_label_selector_to_query_string と pod_utils::pod_matches_multiple_label_values から始め、次に InvalidLabelSelector の定義を見つけます。要求された動作を、リンク先の Zookeeper Operator の例と比較します。完了条件は、両方の関数がすべての検証エラーを収集し、最初のエラーで停止するのではなく、それらをリストとしてまとめて返すことです。
索引モデルが issue の本文から書いたものです。
説明
Currently convert_label_selector_to_query_string will check the passed LabelSelector and as soon as it hits any error it will return that error.
There might be more than one error in the LabelSelector though.
We'd like to change the Error (InvalidLabelSelector) to contain a list of strings instead of a single string and return all errors in one go.
An example of how this could be handled can be found in the Zookeeper Operator:
https://github.com/stackabletech/zookeeper-operator/blob/ffd0d3d5fc47d0f9878f3675eeaae741ca09483b/crd/src/util.rs#L164
- 主要言語
- Rust
- スター
- 167
- フォーク
- 19
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 9
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stackabletech/operator-rs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stackabletech/operator-rs#1273 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
stackabletech/operator-rs#1077 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
stackabletech/operator-rs#1028 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
stackabletech/operator-rs#965 ·
stackabletech/operator-rs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
web-infra-dev/rspack#15847 ·