Re: [pgAdmin4][Patch]: Fixed default public IP range issue in AWS deployment

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
Cc: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Fixed default public IP range issue in AWS deployment
Date: 2022-03-11 08:42:48
Message-ID: CANxoLDfMznVCXH-gV9TVCs+W5tUFag2SeMB+qrcxM3ZTfC78iA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Isn't it possible to define it at a common location? These types of
duplicate code are error-prone since sometimes we fix an issue at one place
and forget to fix it at another.

On Fri, Mar 11, 2022 at 11:56 AM Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:

> One is for pgacloud standalone code for background process and one for
> pgadmin module.
>
> On Fri, 11 Mar 2022, 10:11 Akshay Joshi, <akshay(dot)joshi(at)enterprisedb(dot)com>
> wrote:
>
>> Hi Khushboo
>>
>> Why there are two identical functions (def get_my_ip) in two different
>> files, can you please make it generic in one place only and send the patch.
>>
>> On Fri, Mar 11, 2022 at 9:22 AM Yogesh Mahajan <
>> yogesh(dot)mahajan(at)enterprisedb(dot)com> wrote:
>>
>>> Hi,
>>>
>>> Patch looks fine. IP Addresses are prefixed by 32 and 128 for IPv4 and
>>> IPv6 respectively.
>>>
>>> Thanks,
>>> Yogesh Mahajan
>>> EnterpriseDB
>>>
>>>
>>> On Fri, Mar 11, 2022 at 8:49 AM Khushboo Vashi <
>>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please find the attached patch to fix the default Public IP range issue
>>>> in AWS deployment.
>>>>
>>>> @Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>, please test.
>>>>
>>>>
>>>> Thanks,
>>>> Khushboo
>>>>
>>>
>>
>> --
>> *Thanks & Regards*
>> *Akshay Joshi*
>> *pgAdmin Hacker | Principal Software Architect*
>> *EDB Postgres <http://edbpostgres.com>*
>>
>> *Mobile: +91 976-788-8246*
>>
>

--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2022-03-11 09:03:44 pgAdmin 4 commit: Fixed the default Public IP range in AWS deployment.
Previous Message Dave Page 2022-03-11 07:18:22 Re: [pgAdmin4][Patch]: Fixed default public IP range issue in AWS deployment