[MM-57071] Use bool for license_is_trial in Support Packet (#26378)

Этот коммит содержится в:
Ben Schumacher
2024-03-21 08:55:32 +01:00
коммит произвёл GitHub
родитель b20f14111c
Коммит 1383d51436
3 изменённых файлов: 60 добавлений и 35 удалений

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

@@ -84,7 +84,7 @@ type SupportPacket struct {
ServerOS string `yaml:"server_os"`
ServerArchitecture string `yaml:"server_architecture"`
ServerVersion string `yaml:"server_version"`
BuildHash string `yaml:"build_hash,omitempty"`
BuildHash string `yaml:"build_hash"`
/* DB */
@@ -117,8 +117,8 @@ type SupportPacket struct {
/* License */
LicenseTo string `yaml:"license_to"`
LicenseSupportedUsers int `yaml:"license_supported_users,omitempty"`
LicenseIsTrial string `yaml:"license_is_trial,omitempty"`
LicenseSupportedUsers int `yaml:"license_supported_users"`
LicenseIsTrial bool `yaml:"license_is_trial,omitempty"`
/* Server stats */