int32 need to be changed to uint32

Đang mở
#3,267 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
networking

Hướng nghiên cứu

Bắt đầu với các định nghĩa API của DestinationRule và tệp được tạo liên kết trong issue, networking/v1alpha3/destination_rule.pb.go. Xác định các trường pool kết nối HTTP và TCP có giá trị mặc định là 2^32-1, đồng thời kiểm tra các kiểu được khai báo và nguồn tạo của chúng. Hoàn thành khi các trường liên quan sử dụng uint32 và các artifact được tạo của API nhất quán.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/networking

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)

Bug description
image
As above, there are some fields in both http and tcp connection pool in DestinationRule which value default to 2^32-1,but the field type is int32。Maybe type of those fields should be changed to uint32 ?

The file is here:
https://github.com/istio/api/blob/master/networking/v1alpha3/destination_rule.pb.go

Affected product area (please put an X in all that apply)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience

Expected behavior
change the type of relative fields to uint32
Steps to reproduce the bug

Version (include the output of istioctl version --remote and kubectl version)

How was Istio installed?

Environment where bug was observed (cloud vendor, OS, etc)

Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

Ngôn ngữ chính
Go
Star
523
Fork
623
Merge trung bình
5 ngày 20 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của istio/api

Tất cả issue của istio/api

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.