@@ -175,11 +175,11 @@ func runLicenseCmd(cmd *cobra.Command, cfg license_Config) error {
175175 header = fmt .Sprintf ("NOT FOR RESALE License Certificate %s" , license .Data .CommonName )
176176 } else if slices .Contains (scopes , "beeond" ) {
177177 header = fmt .Sprintf ("BeeOND License Certificate %s" , license .Data .CommonName )
178- } else if license .Data .Type == pl .CertType_CERT_TYPE_CUSTOMER {
178+ } else if license .Data .Type == pl .CertType_CERT_TYPE_ENTERPRISE {
179179 header = fmt .Sprintf ("BeeGFS Enterprise License Certificate %s" , license .Data .CommonName )
180- } else if license .Data .Type == pl .CertType_CERT_TYPE_TEMPORARY {
181- header = fmt .Sprintf ("BeeGFS Temporary License Certificate %s" , license .Data .CommonName )
182- defer genLicHelpFunc (cmd .Context (), "\n WARNING: This system has a temporary license installed." )
180+ } else if license .Data .Type == pl .CertType_CERT_TYPE_TRIAL {
181+ header = fmt .Sprintf ("BeeGFS Trial License Certificate %s" , license .Data .CommonName )
182+ defer genLicHelpFunc (cmd .Context (), "\n WARNING: This system has a trial license installed." )
183183 } else if license .Data .Type == pl .CertType_CERT_TYPE_COMMUNITY {
184184 header = fmt .Sprintf ("BeeGFS Community License Certificate %s" , license .Data .CommonName )
185185 } else {
@@ -188,10 +188,10 @@ func runLicenseCmd(cmd *cobra.Command, cfg license_Config) error {
188188
189189 var color string
190190 switch license .Data .Type {
191- case pl .CertType_CERT_TYPE_CUSTOMER :
192- color = "\033 [32m" // Green if license is valid and customer license
193- case pl .CertType_CERT_TYPE_TEMPORARY :
194- color = "\033 [33m" // Yellow if license is valid and temporary license
191+ case pl .CertType_CERT_TYPE_ENTERPRISE :
192+ color = "\033 [32m" // Green if license is valid and enterprise license
193+ case pl .CertType_CERT_TYPE_TRIAL :
194+ color = "\033 [33m" // Yellow if license is valid and trial license
195195 default :
196196 color = "\033 [34m" // Blue for all other license types including community licenses
197197 }
0 commit comments