Skip to content
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

Cleanup Status check code #481

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Cleanup Status check code #481

merged 3 commits into from
Jun 10, 2024

Conversation

bschimke95
Copy link
Contributor

  • Refactor IsPodReady to CheckForReadyPods and add go-docs
  • Add unittest for CheckForReadyPods
  • Remove ListPods
  • Refactor CheckNetwork and CheckDNS to only return error (nil->success)

@bschimke95 bschimke95 requested a review from a team as a code owner June 10, 2024 09:13
* Refactor IsPodReady to `CheckForReadyPods` and add go-docs
* Add unittest for `CheckForReadyPods`
* Remove `ListPods`
* Refactor `CheckNetwork` and `CheckDNS` to only return error (nil->success)
@bschimke95 bschimke95 force-pushed the KU-994/cleanup-status-checks branch from 7a6252d to e7e6931 Compare June 10, 2024 09:15
src/k8s/cmd/k8s/k8s_x_wait_for.go Show resolved Hide resolved
src/k8s/pkg/k8sd/features/cilium/status.go Outdated Show resolved Hide resolved
src/k8s/pkg/k8sd/features/coredns/status.go Outdated Show resolved Hide resolved
src/k8s/pkg/k8sd/features/calico/status.go Outdated Show resolved Hide resolved
Copy link
Contributor

@neoaggelos neoaggelos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, see comment about test

@bschimke95 bschimke95 merged commit f0a4e7d into main Jun 10, 2024
17 checks passed
@bschimke95 bschimke95 deleted the KU-994/cleanup-status-checks branch June 10, 2024 13:14
eaudetcobello pushed a commit that referenced this pull request Jun 17, 2024
* Refactor IsPodReady to `CheckForReadyPods` and add go-docs
* Add unittest for `CheckForReadyPods`
* Remove `ListPods`
* Refactor `CheckNetwork` and `CheckDNS` to only return error (nil->success)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants