keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
187 stars 44 forks source link

get ip and host by network mask #44

Closed greensamurai closed 3 years ago

greensamurai commented 3 years ago

When using docker you might have multiple network interfaces attached to the container. if this is the case choosing the first non-loopback interface to determine the ip and host is not enough. Therefore specifying a network mask to choose the desired interface is required.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

keijack commented 3 years ago

Thanks for the PR, I just do some refactor in your code base, and release a new version 0.9.4.