[MM-56400] Allow mmctl to download a Support Packet using --local mode (#25836)

Этот коммит содержится в:
Ben Schumacher
2024-02-26 07:55:54 +01:00
коммит произвёл GitHub
родитель e9b9d4ff60
Коммит 1c0dcda801
2 изменённых файлов: 13 добавлений и 8 удалений

Просмотреть файл

@@ -17,6 +17,7 @@ func (api *API) InitSystemLocal() {
api.BaseRoutes.APIRoot.Handle("/server_busy", api.APILocal(setServerBusy)).Methods("POST")
api.BaseRoutes.APIRoot.Handle("/server_busy", api.APILocal(getServerBusyExpires)).Methods("GET")
api.BaseRoutes.APIRoot.Handle("/server_busy", api.APILocal(clearServerBusy)).Methods("DELETE")
api.BaseRoutes.System.Handle("/support_packet", api.APILocal(generateSupportPacket)).Methods("GET")
api.BaseRoutes.APIRoot.Handle("/integrity", api.APILocal(localCheckIntegrity)).Methods("POST")
api.BaseRoutes.System.Handle("/schema/version", api.APILocal(getAppliedSchemaMigrations)).Methods("GET")
}