-
Notifications
You must be signed in to change notification settings - Fork 689
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 <tnaveen3402@gmail.com>
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
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 <tnaveen3402@gmail.com>
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
@AlexsJones Can you check this once? |
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com>
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 <tnaveen3402@gmail.com>
@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 <tnaveen3402@gmail.com> * Signed-off Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the hpaAnalyzer_test.go Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated hpa_test.go Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the hpa Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the Conflicts Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Resolved all the conflicts Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the test case Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> --------- Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> Co-authored-by: Alex Jones <alexsimonjones@gmail.com> Co-authored-by: Matthis <matthish29@gmail.com> Signed-off-by: michael12312 <jun.wang@fmr.com>
* getting the error from status field for hpa analyzer Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Signed-off Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the hpaAnalyzer_test.go Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated hpa_test.go Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the hpa Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the Conflicts Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Resolved all the conflicts Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> * Updated the test case Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> --------- Signed-off-by: naveenthangaraj03 <tnaveen3402@gmail.com> Co-authored-by: Alex Jones <alexsimonjones@gmail.com> Co-authored-by: Matthis <matthish29@gmail.com> Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
Display the error from the status field, will get to know the clear error from the HPA
Closes #
📑 Description
✅ Checks
ℹ Additional Information