mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

4a0f922 changed SelfCert to use a helper from pkg/fileutils which introduced a transitive dependency on coreos/pkg/capnslog. This means anyone who imports pkg/transport to use TLS with the clientv3 library has the default stdlib logger hijacked by capnslog. This PR reverts 4a0f922. There are no tests because 4a0f922 contained no test and was not attached to a PR. Fixes #7350
pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.