Skip to content

Commit

Permalink
API: drop v1 api, changed v2 api for Clair v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyboardNerd committed Jul 13, 2017
1 parent 6c9a131 commit 02d3c8f
Show file tree
Hide file tree
Showing 9 changed files with 521 additions and 1,410 deletions.
2 changes: 0 additions & 2 deletions api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
log "github.com/sirupsen/logrus"

"github.com/coreos/clair/api/httputil"
"github.com/coreos/clair/api/v1"
"github.com/coreos/clair/database"
)

Expand All @@ -35,7 +34,6 @@ const apiVersionLength = len("v99")

func newAPIHandler(cfg *Config, store database.Datastore) http.Handler {
router := make(router)
router["/v1"] = v1.NewRouter(store, cfg.PaginationKey)
return router
}

Expand Down
317 changes: 0 additions & 317 deletions api/v1/models.go

This file was deleted.

Loading

0 comments on commit 02d3c8f

Please sign in to comment.