-
Notifications
You must be signed in to change notification settings - Fork 715
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
Correct api.getFluxImages usage #3233
Conversation
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.
Sorry, I think that one may have been leftover from some cleanup I did
HistoryThe history of this bug is very interesting. First, in
Adds a third version argument to the A little later, in
Actually uses the third argument to pass on After some reworking, The API function looses the third argument altogether in April this year
The A little later, however, the
The 💥BOOM💥 Lessons
|
We could come up with another way to inject weave cloud functionality into scope so that the code which depends on the Weave Cloud UI stays in that codebase |
@foot and I had a lot of casual chat recently on how this could be done, maybe it was about time I opened an issue - https://github.com/weaveworks/service-ui/issues/2759 :) |
The history confuses me. IIUC, the commit that breaks things is from Jun 15. However, the incident did not occur until Jun 20. What explains the discrepancy? |
Commit 28f9cc04f66aeb14f72be92a2cad48e0963dd83e from June 15th was not merged until the afternoon of Monday June 18th. We locked the UI service on the 18th due to other issues so this may have hit production on the afternoon of the 19th |
api.getFluxImages
takes 3 parameters:getFluxImages(id, serviceId = null, containerFields = [])
with a recent change adding the containerFields parameter.The 3rd parameter (
2
) passed toapi.getFluxImages
has been incorrect for a while now.Fixes https://github.com/weaveworks/service-ui/issues/2749