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

remove uses of github.com/golang/glog #1

Merged
merged 7 commits into from
Feb 11, 2022
Merged

remove uses of github.com/golang/glog #1

merged 7 commits into from
Feb 11, 2022

Conversation

thaJeztah
Copy link
Owner

@thaJeztah thaJeztah commented Jan 28, 2022

glog has the same issue as k8s.io/klog, and is calling user.Current()
inside an init(); see kubernetes/klog@466fbb6

Calling user.Current() on Windows can result in remove connections being
made to get the user's information, which can be a heavy call. See docker/cli#2420 and docker/cli#2515

glog was only used in a single location, so we may as well remove it.

thaJeztah and others added 2 commits January 28, 2022 15:26
We're using dependencies with this license in many places, and it should
be ok to use.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
license-check: add BSD-3-Clause to allow-list
thaJeztah and others added 5 commits January 28, 2022 16:28
Older versions may have issues when running recent Alpine images,
due to seccomp profiles not being up to date with latest kernels.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Hoping to fix:

    Output from proc 3:
      flag provided but not defined: -ginkgo.timeout
      Usage of /e2e.test:
        -alsologtostderr
          	log to standard error as well as files
        -ginkgo.dryRun
          	If set, ginkgo will walk the test hierarchy without actually running anything.  Best paired with -v.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
glog has the same issue as k8s.io/klog, and is calling `user.Current()`
inside an `init()`; see kubernetes/klog@466fbb6

Calling `user.Current()` on Windows can result in remove connections being
made to get the user's information, which can be a heavy call.

glog was only used in a single location, so we may as well remove it.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
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.

1 participant