❦ 14 mars 2020 22:50 -04, Tong Sun <suntong001@users.sourceforge.net>:
> How to deal with vendor packages that are 404 when accessed?
>
> The docker cli has many k8s.io packages in its vendor folder that when
> I try to visit them, I'm getting 404.
>
> E.g. k8s.io/api is one of its vendor packages, but I'm getting 404 for it.
> (I do have found a repo: https://github.com/kubernetes/api).
>
> Is there any write up on how to deal with such situation, to package
> those 404 vendor packages?
Use https://k8s.io/api?go-get=1 to retrieve the real location.
--
Make sure your code "does nothing" gracefully.
- The Elements of Programming Style (Kernighan & Plauger)
Attachment:
signature.asc
Description: PGP signature