1
0
Fork 0

Add Traefik Hub button and deprecate Pilot

Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
This commit is contained in:
Ludovic Fernandez 2022-06-13 11:04:08 +02:00 committed by GitHub
parent aa0b5466a9
commit 91f4ccf087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 21 additions and 250 deletions

View file

@ -23,9 +23,6 @@ var (
// StartDate holds the start date of traefik.
StartDate = time.Now()
// UUID instance uuid.
UUID string
// PilotEnabled activate integration of pilot into the dashboard.
PilotEnabled bool
)
// Handler expose version routes.
@ -46,11 +43,9 @@ func (v Handler) Append(router *mux.Router) {
UUID string `json:"uuid,omitempty"`
PilotEnabled bool `json:"pilotEnabled"`
}{
Version: Version,
Codename: Codename,
StartDate: StartDate,
UUID: UUID,
PilotEnabled: PilotEnabled,
Version: Version,
Codename: Codename,
StartDate: StartDate,
}
if err := templatesRenderer.JSON(response, http.StatusOK, v); err != nil {