Skip to content

net: introduce is_ip_address function#288

Merged
blackboxsw merged 3 commits into
canonical:masterfrom
OddBloke:mirrors
Mar 28, 2020
Merged

net: introduce is_ip_address function#288
blackboxsw merged 3 commits into
canonical:masterfrom
OddBloke:mirrors

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

This will be required for the mirror URL sanitisation work, but is a convenient unit to review separately hence the proposal with no callers.

(Also sort some imports.)

Copy link
Copy Markdown
Collaborator

@raharper raharper left a comment

Choose a reason for hiding this comment

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

I;d like to see this in cloudinit.net/init.py instead of util.

@raharper raharper changed the title util: introduce is_ip_address function net: introduce is_ip_address function Mar 27, 2020
Copy link
Copy Markdown
Collaborator

@raharper raharper left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

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.

3 participants