fix: adjust operations api usage WD-35708#1927
fix: adjust operations api usage WD-35708#1927omarelkashef wants to merge 1 commit intocanonical:mainfrom
Conversation
e492368 to
bf48061
Compare
Kxiru
left a comment
There was a problem hiding this comment.
LGTM, thank you for addressing this so quickly! I understand this is waiting on another PR?
edlerd
left a comment
There was a problem hiding this comment.
LGTM, thanks for the prompt fix here! Small suggestion below.
bf48061 to
cc6763b
Compare
cc6763b to
f2e742f
Compare
|
Create network forward will be fixed next pulse. |
LXD latest/edge is not yet including the operation API fixes from canonical/lxd#18033 Let's re-run CI on this PR to ensure those are fixed once the changes are built into the edge channel. |
Changes have not landed in latest/edge yet, but we are rebasing an pushing to be ready. |
f2e742f to
58c6448
Compare
Signed-off-by: Omar Elkashef <omarelkashef01@gmail.com>
58c6448 to
a8eb9f8
Compare
| const entityUrlField = isRenamingOperation(operation) | ||
| ? "original_entity_url" | ||
| : "entity_url"; |
There was a problem hiding this comment.
We need to stay backward compatible here. I think this only works with the new schema.
There was a problem hiding this comment.
In the old schema, original_entity_url is empty so isRenamingOperation returns false and we proceed as normal in getOperationEntityUrls
There was a problem hiding this comment.
Can we keep the tests to ensure backward compatibility and add new tests for the new schema?



Done
QA