Skip to content

Conversation

@sgalsaleh
Copy link
Member

What does this PR do?

Adds the customer ID to the license so that vendors can then send it from on-prem instances back to their envs.

Does this PR introduce a user-facing change?

Adds the customer ID to the response of the `/license/info` endpoint.

@sgalsaleh sgalsaleh requested a review from laverya November 25, 2025 16:53
)

type LicenseInfo struct {
LicenseID string `json:"licenseID"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently we need to add a gofmt check to more repos due to the rise of AI

}

expiresAtValue := ent.GetValue().StrVal
expiresAtValue := ent.GetValue().(string)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahhhh because it returns an interface now instead?

should we check that the type is string and error otherwise?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah

@sgalsaleh sgalsaleh merged commit 9830efa into main Nov 25, 2025
1 check passed
@sgalsaleh sgalsaleh deleted the salah/sc-131529/add-customer-id-to-the-license branch November 25, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants