Closed Fedosin closed 2 years ago
@Fedosin: This pull request references Bugzilla bug 2018517, which is invalid:
Comment /bugzilla refresh
to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.
/bugzilla refresh
@JoelSpeed: This pull request references Bugzilla bug 2018517, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.
Requesting review from QA contact: /cc @huali9
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cfergeau, JoelSpeed
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@Fedosin: All pull requests linked via external trackers have merged:
Bugzilla bug 2018517 has been moved to the MODIFIED state.
@Fedosin: all tests passed!
Full PR test history. Your PR dashboard.
Now we convert new machine status into raw status (basically a byte array) and then compare it with the raw status of the existing machine.
Unfortunately, encoder doesn't preserve the order of status fields, which leads to the fact that even if statuses are the same, their raw representations are different.
To fix this we convert raw machine status to a golang object, and then compare it with the provided one. Additionally we have to compare addresses if they were provided.