-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting of Source IP for Addr Test #344
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the change, once the tests are updated/passing in CI I'll merge this.
resource/addr.go
Outdated
Title string `json:"title,omitempty" yaml:"title,omitempty"` | ||
Meta meta `json:"meta,omitempty" yaml:"meta,omitempty"` | ||
Address string `json:"-" yaml:"-"` | ||
LocalAddress string `json:"localaddress" yaml:"localaddress"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have an "omitempty" for this.
This Change allows the Source IP with which the Addr test is run to be set.
I had that fix locally already, never committed. And rebased to the master version. Hope this is ok now, i actually really have no clue about programming go :P |
* Allow setting of Source IP for Addr Test This Change allows the Source IP with which the Addr test is run to be set. * Gofmt the code and add tests * More gofmt fixes * Rename localaddress -> local-address
This Change allows the Source IP with which the Addr test is run to be
set.