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
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu tại label_selector::convert_label_selector_to_query_string và pod_utils::pod_matches_multiple_label_values, sau đó tìm định nghĩa của InvalidLabelSelector. So sánh hành vi được yêu cầu với ví dụ Zookeeper Operator được liên kết. Được xem là hoàn tất khi cả hai hàm thu thập mọi lỗi xác thực và trả về chúng cùng nhau dưới dạng một danh sách thay vì dừng lại ở lỗi đầu tiên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 167
- Fork
- 19
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 9
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/operator-rs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stackabletech/operator-rs#1273 · 1 bình luận ·
-
Improve label mechanisms Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
stackabletech/operator-rs#1077 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
stackabletech/operator-rs#1063 ·
-
stackable-versioned: Require inner module definitions to have the same visibility as the parent Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
stackabletech/operator-rs#1028 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
stackabletech/operator-rs#965 ·
Tất cả issue của stackabletech/operator-rs
Issue tương tự
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Đang mởbug CLI custom-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
Missing examples for `Allocator` Đang mởA-allocators A-docs C-enhancement T-libs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100