Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Deployment] Check duplicate hostname #2403

Merged
merged 5 commits into from
Apr 8, 2019

Conversation

abuccts
Copy link
Member

@abuccts abuccts commented Mar 26, 2019

Check duplicate hostname in kubernetes configuration.

Closes #2377.

Check duplicate hostname in kubernetes configuration.
@abuccts abuccts requested review from hao1939 and ydye March 26, 2019 08:24
@coveralls
Copy link

coveralls commented Mar 26, 2019

Coverage Status

Coverage increased (+0.3%) to 52.943% when pulling 1a1fe86 on xiongyf/deployment-check-hostname into 1e0c142 on master.

abuccts added 2 commits March 26, 2019 16:37
Use machine list in layout.yaml instead.
Fix bug in checking duplicate host list.
@@ -32,6 +32,13 @@ def __init__(self, layout_configuration):

def validation_pre(self):
# TODO

# validate unique hostname
Copy link
Contributor

Choose a reason for hiding this comment

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

need a unit test

Copy link
Member Author

Choose a reason for hiding this comment

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

added

abuccts added 2 commits April 4, 2019 17:03
Fix previous unit test.
Add unit test for duplicate hostname.
@abuccts abuccts merged commit 02f4a49 into master Apr 8, 2019
@abuccts abuccts deleted the xiongyf/deployment-check-hostname branch April 8, 2019 05:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants