[MM-35863] Add IsEnterpriseReady Plugin API (#18676)

Automatic Merge
Этот коммит содержится в:
Joe
2021-10-20 11:12:58 +01:00
коммит произвёл GitHub
родитель 5928e4f9e0
Коммит dea8610f1e
6 изменённых файлов: 72 добавлений и 0 удалений

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

@@ -112,6 +112,13 @@ func (api *apiTimerLayer) GetLicense() *model.License {
return _returnsA
}
func (api *apiTimerLayer) IsEnterpriseReady() bool {
startTime := timePkg.Now()
_returnsA := api.apiImpl.IsEnterpriseReady()
api.recordTime(startTime, "IsEnterpriseReady", true)
return _returnsA
}
func (api *apiTimerLayer) GetServerVersion() string {
startTime := timePkg.Now()
_returnsA := api.apiImpl.GetServerVersion()