-
Notifications
You must be signed in to change notification settings - Fork 694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: getting the error from status field for HPA analyzer #1164
feat: getting the error from status field for HPA analyzer #1164
Conversation
Signed-off-by: naveenthangaraj03 <[email protected]>
Signed-off-by: naveenthangaraj03 <[email protected]>
bdd001f
to
af1858e
Compare
overall looks good! |
@JuHyung-Son |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix these tests
--- FAIL: TestHPAAnalyzerWithUnsuportedScaleTargetRef (0.00s)
hpaAnalyzer_test.go:130: expected error 'does not possible option.' not found in analysis results
--- FAIL: TestHPAAnalyzerWithNonExistentScaleTargetRef (0.00s)
hpaAnalyzer_test.go:177: expected error 'does not exist.' not found in analysis results
assert.go:24: got 0 want 1
Signed-off-by: naveenthangaraj03 <[email protected]>
…8sgpt into HPA-analyzer
Signed-off-by: naveenthangaraj03 <[email protected]>
@AlexsJones Can you check this once? |
Signed-off-by: naveenthangaraj03 <[email protected]>
Signed-off-by: naveenthangaraj03 <[email protected]>
Signed-off-by: naveenthangaraj03 <[email protected]>
Signed-off-by: naveenthangaraj03 <[email protected]>
HI @naveenthangaraj03 ! Tests not worked with your change https://github.com/k8sgpt-ai/k8sgpt/actions/runs/10019909423/job/27696980225?pr=1164 |
Signed-off-by: naveenthangaraj03 <[email protected]>
…8sgpt into HPA-analyzer
@matthisholleville Can you check this now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…#1164) * getting the error from status field for hpa analyzer Signed-off-by: naveenthangaraj03 <[email protected]> * Signed-off Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the hpaAnalyzer_test.go Signed-off-by: naveenthangaraj03 <[email protected]> * Updated hpa_test.go Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the hpa Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the Conflicts Signed-off-by: naveenthangaraj03 <[email protected]> * Resolved all the conflicts Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the test case Signed-off-by: naveenthangaraj03 <[email protected]> --------- Signed-off-by: naveenthangaraj03 <[email protected]> Co-authored-by: Alex Jones <[email protected]> Co-authored-by: Matthis <[email protected]> Signed-off-by: michael12312 <[email protected]>
* getting the error from status field for hpa analyzer Signed-off-by: naveenthangaraj03 <[email protected]> * Signed-off Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the hpaAnalyzer_test.go Signed-off-by: naveenthangaraj03 <[email protected]> * Updated hpa_test.go Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the hpa Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the Conflicts Signed-off-by: naveenthangaraj03 <[email protected]> * Resolved all the conflicts Signed-off-by: naveenthangaraj03 <[email protected]> * Updated the test case Signed-off-by: naveenthangaraj03 <[email protected]> --------- Signed-off-by: naveenthangaraj03 <[email protected]> Co-authored-by: Alex Jones <[email protected]> Co-authored-by: Matthis <[email protected]> Signed-off-by: AlexsJones <[email protected]>
Display the error from the status field, will get to know the clear error from the HPA
Closes #
📑 Description
✅ Checks
ℹ Additional Information