-
Notifications
You must be signed in to change notification settings - Fork 887
fix: remove license warning for customers #13865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -87,7 +87,7 @@ func Entitlements( | |||
if isTrial { | |||
showWarningDays = 7 | |||
} | |||
isExpiringSoon := daysToExpire > 0 && daysToExpire < showWarningDays | |||
isExpiringSoon := isTrial && daysToExpire > 0 && daysToExpire < showWarningDays |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably dangerous since it won't show to admins if the license is expiring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coadler even admins of non-trial licensed deployments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. The change should probably just be made on the CLI to only display if you're an admin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coadler i'm not sure how to build this into the CLI. can you take this on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would probably be best to make an issue and prioritize into a sprint, I don't have the cycles currently.
this PR removes the license warning for customers - this will only apply to trial licenses.
current state: