You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requires the github.com/coreos/etcd/pkg/transport package, which has a transitive dependency on github.com/coreos/etcd/pkg/fileutils which itself has a transitive dependency on github.com/coreos/pkg/capnslog. capnslog has an init function which hijacks the default router.
The text was updated successfully, but these errors were encountered:
What happened:
importing
github.com/coreos/etcd/transport
caused capnslog to hijack my logger, (stdlib log package)What did you expect:
importing
github.com/coreos/etcd/transport
would not hijack my logger.Discussion:
Following the WithTLS example here
https://godoc.org/github.com/coreos/etcd/clientv3#ex-Config--WithTLS
requires the
github.com/coreos/etcd/pkg/transport
package, which has a transitive dependency onjackfan.us.kg/coreos/etcd/pkg/fileutils
which itself has a transitive dependency onjackfan.us.kg/coreos/pkg/capnslog
. capnslog has aninit
function which hijacks the default router.The text was updated successfully, but these errors were encountered: