Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#14 | duplicate_setDomain-3014213-14.patch | 744 bytes | Xiaohua Guan |
|
Comments
Comment #2
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #3
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #4
yas@baldwinlouie It looks good to me but could you please review it, too?
Comment #5
baldwinlouie CreditAttribution: baldwinlouie commented@yas, this looks good.
Comment #6
baldwinlouie CreditAttribution: 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 CreditAttribution: Xiaohua Guan commentedComment #8
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #9
Xiaohua Guan CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Xiaohua Guan commentedComment #14
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #15
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #16
Xiaohua Guan CreditAttribution: 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