Part of the changes in 2591 modifies the vendor directory
which should not be modified. `dep ensure` will change it back.
This fix reverts the change of
```
vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
```
in 2591.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Currently, there are some links that we access with **HTTP**, it is
redirected to **HTTPS** automatically. So this commit aims to
replace **http://...** by **https://...** for security.
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
* Remove version pinning of thrift, ugoriji/go, and etcd
For incompatibility reasons at one point, we were forced
to pining the version of thrift, ugoriji/go, and etcd
to very specific versions (some are not versioned commits)
to get around the build issues.
It looks like those incompatibility issues are gone so
we could remove the pinning of thrift, ugoriji/go, and etcd.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update Gopkg.lock
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update vendor library
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update client-go to v10.0.0 (Kubernetes 1.13)
This fix updates client-go to v10.0.0 which matches
Kubernetes 1.13 (released several days ago).
Other changes in Gopkg.yaml:
- Updated apimachinary, api, klog, yaml associated with k8s version
go dep will not automatically match the version.
- Added [prune] field (otherwise go dep will not prune automatically)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Updated Gopkg.lock
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Updated vendor for client-go v10.0.0
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
When running `dep prune` explicitly, the following message show up:
```
dep prune
Pruning is now performed automatically by dep ensure.
```
However, after the explicit `dep prune`, there are still many files deleted. (Guess `dep ensure` is not complete yet).
This fix did a `dep prune` to clean up unneeded files.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This fix is an vendor update. Both ugorji and thrift have to be pinned
to compile. The ugorji is from etcd and thrift is from zipkin.
This fix fixes#1802.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* vendor: don't vendor the context stuff
We don't need to vendor this anymore as we moved to the std lib for
these.
* new stuff showing up with dep ensure
* remove go-shlex
The `apache/thrift` recently released a new version of `0.11.0`
several days ago. This release is compatible with other packages
and as such, there is no need to pinning the `apache/thrift`
to `master` anymore in Gopkg.toml.
This fix removes the pinning of `apache/thrift` in Gopkg.toml,
and updates all dependencies of coredns.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
prometheus.Handler is deprecated according to the godoc for the package so
instead we're using promhttp.
Additionally, we are exposing the Registry that metrics is using so other
plugins that are not inside of coredns can read the registry. Otherwise, if
we kept using the Default one, there's no way to access that from outside
of the coredns repo since it is vendored.
* Update vendor directory for latest changes.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update Gopkg.toml to remove the constraint on zipkin-go-opentracing
As the issue on zipkin-go-opentracing has been fixed. See #1193
for details.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update zipkin to the newer version
Also update thrift to use head commit
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update vendor directory.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>