Skip to content

Commit

Permalink
Merge pull request #41 from mrpalide/fix/move-tpd-deregister-out-of-n…
Browse files Browse the repository at this point in the history
…once-scope

fix tpd de-register
  • Loading branch information
mrpalide authored Jan 8, 2024
2 parents d99c5e9 + addb4c2 commit 318dafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/transport-discovery/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ func New(log logrus.FieldLogger, s store.Store, nonceStore httpauth.NonceStore,
r.Get("/transports/edge:{edge}", api.getTransportByEdge)
r.Post("/transports/", api.registerTransport)
r.Delete("/transports/id:{id}", api.deleteTransport)
r.Delete("/transports/deregister", api.deregisterTransport)
})

r.Get("/health", api.health)
r.Get("/all-transports", api.getAllTransports)
r.Delete("/transports/deregister", api.deregisterTransport)
r.Post("/statuses", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusGone)
})
Expand Down

0 comments on commit 318dafd

Please sign in to comment.