Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Not cutting the minion name when displaying it if it's an IPv4 address #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abonas
Copy link

@abonas abonas commented Oct 8, 2014

Sometimes a minion is represented by IP and not by hostname.
In that case, cutting it to till the first '.' appears as it is done today results with unclear and confusing displayed name (for example, 127.0.0.1 is displayed as 127). Hence, the patch adds logic to check whether the minion name is a hostname or an IP, and if it's an IP - display it 'as is'.
Note - IPv6 handling is NOT part of this patch.

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.

1 participant