-
Notifications
You must be signed in to change notification settings - Fork 5k
Refactored table rendering codes to support updated tablewriter v1.0.7 #20893
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
base: master
Are you sure you want to change the base?
Conversation
This commit makes all necessary code changes to maintain compatibility with the new tablewriter version. The update includes several required modifications across multiple files. Files modified: - cmd/minikube/cmd/config/images.go - cmd/minikube/cmd/config/addons_list.go - cmd/minikube/cmd/config/profile_list.go - hack/benchmark/time-to-k8s/chart.go - hack/benchmark/time-to-k8s/cpu.go - pkg/minikube/audit/row.go - pkg/minikube/machine/cache_images.go - pkg/minikube/perf/result_manager.go - pkg/minikube/service/service.go Now kubernetes#20878 can be merged. Addresses kubernetes#20879
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Victorthedev The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @Victorthedev. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@medyagh please review |
Can one of the admins verify this patch? |
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.
@Victorthedev thank you for this PR, can you please share the output of a few minikube commands that use table
for example
./out/minikube start -p p1
./out/minikube start -p p2
./out/minikube start -p p3
minikube profile list
// deploy bunch of services and then
minikube service list
I wanna see if that changed the looks of it or not, and I wonder if we need to set the alignment to "Left" or not
because it seems like they changed the default alignment to be none
/ok-to-test |
@Victorthedev also plz post output of minikube addons list |
@Victorthedev plz check the builderrors "https://storage.googleapis.com/minikube-builds/logs/20893/build.txt" |
I just pushed a commit for pkg/minikube/perf/result_manager.go, thats the file with the error |
kvm2 driver with docker runtime
Times for minikube start: 52.2s 49.6s 50.6s 52.2s 48.4s Times for minikube (PR 20893) ingress: 15.5s 14.6s 16.0s 15.0s 14.5s docker driver with docker runtime
Times for minikube start: 25.8s 24.3s 22.8s 26.8s 25.3s Times for minikube ingress: 13.8s 13.3s 13.3s 13.3s 12.3s docker driver with containerd runtime
Times for minikube start: 23.7s 25.3s 25.4s 22.8s 22.4s Times for minikube ingress: 38.8s 38.9s 39.8s 38.8s 39.3s |
@Victorthedev thank you very much for the Screenshot, do you think we need Align Left? the "minikube service list" the port seems like it is aligned Right, maybe we can try with Align Let? |
@Victorthedev can we also bump the go mod in the same PR to verify it works with new lib version? |
@medyagh Done |
@medyagh tried using table.SetColumnAlignment([]int{0, 0, 0, 0}) |
/retest |
@Victorthedev plz check the error https://storage.googleapis.com/minikube-builds/logs/20893/build.txt |
@Victorthedev I think some of the Calls to the func may need to be updated to the new func signature
|
@Victorthedev: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Yes yes, I'm working on them |
This commit makes all necessary code changes to maintain compatibility with the new tablewriter version. The update includes several required modifications across multiple files.
Files modified:
Now #20878 can be merged.
Addresses #20879