User Request
Type: bug
Submitted by: @rishi-jat
Console Request ID: 55f1e71f-ea9a-47bb-b2ab-dd3654b51a73
Description
What happened:
In pkg/api/handlers/feedback.go at line 526, body, _ := io.ReadAll(resp.Body) discards the error. A partial response is silently treated as complete.
What I expected:
Check the error from io.ReadAll.
Steps to reproduce:
- Open pkg/api/handlers/feedback.go, line 526
- See body, _ := io.ReadAll(resp.Body)
- Error is discarded
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Submitted by: @rishi-jat
Console Request ID: 55f1e71f-ea9a-47bb-b2ab-dd3654b51a73
Description
What happened:
In pkg/api/handlers/feedback.go at line 526, body, _ := io.ReadAll(resp.Body) discards the error. A partial response is silently treated as complete.
What I expected:
Check the error from io.ReadAll.
Steps to reproduce:
This issue was automatically created from the KubeStellar Console.