Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

feat(remote-server): allow usage of domain names #7250

Merged
merged 2 commits into from
Mar 22, 2019

Conversation

victorvassilev
Copy link
Contributor

Description

Allows the user to define remote server by address not only by IP

Fixes # MON-3257

Type of change

Please delete options that are not relevant.

  • [x ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

- [ x] 18.10.x

Allows the user to define remote server by address not only by IP
Resolves MON-3257
@victorvassilev victorvassilev requested review from kduret and vhr and removed request for kduret March 6, 2019 07:14
Copy link
Contributor

@vhr vhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only suggestions :)

@@ -36,13 +35,21 @@ class NotifyMasterService
private $curl;

/**
* @return Curl
* @return void
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just remove a return annotation

/*
* resolve the address down to IP
*/
$ipAddress = gethostbyname($ip);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this preparation should be done before IP is pass to the repository method

@victorvassilev victorvassilev merged commit 35f00ea into 18.10.x Mar 22, 2019
@victorvassilev victorvassilev deleted the mon-3257-use-fqdn-rs branch March 22, 2019 08:55
victorvassilev added a commit that referenced this pull request Mar 22, 2019
* feat(remote-server): allow usage of domain names
Allows the user to define remote server by address not only by IP
Resolves MON-3257

* add validator change
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants