-
Notifications
You must be signed in to change notification settings - Fork 41
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
Inconsistency with keyPrefix #59
Comments
Hi @pedrokost. The functionality that you are describing is quite intentional. It is by design that This plugin will combine the Hope this cleared things up a bit. I'm going to close this issue as there is nothing to be changed here. If you have any other questions or need something clarified more, by all means ask them here, or reopen this if you need to. |
@achambers OK Why wouldn't the |
@pedrokost What confusion is that? |
@achambers Nevermind. I only stumbled upon this because I was upgrading from ~~In the former
Edit: I wrote incorrectly. In |
My Redis config contains the following:
When I run
ember deploy prod
I get the following output:In Redis, the key
zatresi:eb65b18c84b6b6b373fa5315e6661a9b
indeed contains the HTML content of theindex.html
file.Next, I run:
This sets the value of they key
zatresi:current
toeb65b18c84b6b6b373fa5315e6661a9b
instead ofzatresi:eb65b18c84b6b6b373fa5315e6661a9b
. I believe this is a regression from a much earlier version of the addon. At some point, the behavior changed.The documentation says:
I believe the default should instead be:
keyPrefix + context.commandLineArgs.revisionKey || context.revisionData.revisionKey
Also, from this documentation it is not clear how I can override the
revisionKey
parameter. Can I pass a function which accepts thekeyPrefix
and/orcontext
to it?The text was updated successfully, but these errors were encountered: