Closed (fixed)
Project:
Cloud
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Nov 2018 at 11:03 UTC
Updated:
12 Dec 2018 at 14:19 UTC
Jump to comment: Most recent, Most recent file
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | duplicate_setDomain-3014213-14.patch | 744 bytes | xiaohua guan |
Comments
Comment #2
xiaohua guan commentedComment #3
xiaohua guan commentedComment #4
yas@baldwinlouie It looks good to me but could you please review it, too?
Comment #5
baldwinlouie commented@yas, this looks good.
Comment #6
baldwinlouie commented@yas, and @xiaohua-guan. Sorry, but I'm setting this back to needs work.
After looking at this again, I think it might be better to have helper methods in ElasticIp.php such as set_network_interface_id(), set_association_id(). The patch above will then call these methods instead of directly setting the value of the entity.
What do you think?
Comment #7
xiaohua guan commentedComment #8
xiaohua guan commentedComment #9
xiaohua guan commented@baldwinlouie
Thanks for your review.
I've added helper functions to the entity class. Please take a look again.
Thanks.
Comment #10
baldwinlouie commentedThanks for the updated patch. Looks good!
Comment #12
yas@xiaohua-guan
@baldwinlouie
Thank you for your contribution. I merged the patch.
Comment #13
xiaohua guan commentedComment #14
xiaohua guan commentedComment #15
xiaohua guan commentedComment #16
xiaohua guan commented@yas
There is a critical problem in ElasticIp.php, where the method setDomain was defined duplicately.
Please review the patch file duplicate_setDomain-3014213-14.patch.
Comment #17
yas@xiaohua-guan
Thank you for fixing it. It looks good to me. I'll push and merge it.
Comment #19
yas