vendor.conf: pin branches to releases or commits

Most of the dependencies have been copied from libpod's vendor.conf
where such a cleanup has been executed recently.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2019-02-21 13:59:28 +01:00
parent 509782e78b
commit ebfa1e936b
189 changed files with 2388 additions and 25884 deletions

View File

@@ -36,5 +36,9 @@ func ServeJSON(w http.ResponseWriter, err error) error {
w.WriteHeader(sc)
return json.NewEncoder(w).Encode(err)
if err := json.NewEncoder(w).Encode(err); err != nil {
return err
}
return nil
}

View File

@@ -14,6 +14,15 @@ const (
RouteNameCatalog = "catalog"
)
var allEndpoints = []string{
RouteNameManifest,
RouteNameCatalog,
RouteNameTags,
RouteNameBlob,
RouteNameBlobUpload,
RouteNameBlobUploadChunk,
}
// Router builds a gorilla router with named routes for the various API
// methods. This can be used directly by both server implementations and
// clients.