Skip to content

Fix influxdb extension to properly strip hostnames in some edge cases.#31

Open
modax wants to merge 1 commit intoseegno:masterfrom
modax:bug/hostname-stripping
Open

Fix influxdb extension to properly strip hostnames in some edge cases.#31
modax wants to merge 1 commit intoseegno:masterfrom
modax:bug/hostname-stripping

Conversation

@modax
Copy link
Copy Markdown

@modax modax commented Jul 19, 2016

For example:

Old:

slice_host('myhost.memory.dirty', 'myhost.modax.com')
=> "emory.dirty"

New:

slice_host('myhost.memory.dirty', 'myhost.modax.com')
=> "memory.dirty"

For example:

Old:

slice_host('myhost.memory.dirty', 'myhost.modax.com')
=> "emory.dirty"

New:

slice_host('myhost.memory.dirty', 'myhost.modax.com')
=> "memory.dirty"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant